src/plugins/hetero/README.md
Algorithm:
For each plugin
Example:
graph TD;
1-->2;
2-->3;
2-->4;
3-->5;
4-->5;
5-->6;
6-->7;
Nodes [1,2,3,5,6,7] are supported in the plugin, [4] is not
Possible roots: [1,2,3,5,6,7]
Possible roots: [5,6,7]
Possible roots: [] no roots, END
Subgraphs: [1,2,3], [3,5,6,7]
Select best subgraph:
Repeat previous steps with remaining nodes [1,2]
The final result is:
path nodes (nodes through one node in pair reachable to other).
src - one node in a pair, dst - other node in a pairsrcdst. These will be the path nodes.path nodes set and rejected nodes set for each pair of nodes in a subgraph.