dagitty icon indicating copy to clipboard operation
dagitty copied to clipboard

GraphAnalyzer.topologicalOrdering not ordering isolated nodes

Open benibela opened this issue 4 years ago • 0 comments

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?

benibela avatar Feb 04 '22 20:02 benibela