dagitty
dagitty copied to clipboard
GraphAnalyzer.topologicalOrdering not ordering isolated nodes
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}
Is that on purpose?