Tweak graph display, check direct sends

->feeds() follows connections "track -> master -> monitor"
(to detect feedback). Use direct_feeds_according_to_reality()
to correctly show sends-only.
This commit is contained in:
Robin Gareus 2019-08-23 02:12:47 +02:00
parent b858b3b692
commit d52cf0f739
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -579,7 +579,7 @@ Graph::plot (std::string const& file_name) const
boost::shared_ptr<Route> dr = boost::dynamic_pointer_cast<Route> (*ai);
std::string dn = string_compose ("%1 (%2)", dr->name (), (*ai)->_init_refcount[chain]);
bool sends_only = false;
sr->feeds (dr, &sends_only);
sr->direct_feeds_according_to_reality (dr, &sends_only);
if (sends_only) {
ss << " edge [style=dashed];\n";
}