Open benibela opened 2 years ago
For isolated nodes (with no parents and no children) GraphAnalyzer.topologicalOrdering returns index 0.
E.g. a graph with nodes A,B,C,D and one edge A -> B gets an order {A: 1, B:2, C:0, D:0}
A,B,C,D
A -> B
{A: 1, B:2, C:0, D:0}
Is that on purpose?
For isolated nodes (with no parents and no children) GraphAnalyzer.topologicalOrdering returns index 0.
E.g. a graph with nodes
A,B,C,D
and one edgeA -> B
gets an order{A: 1, B:2, C:0, D:0}
Is that on purpose?