nocad.components.topological_order#

nocad.components.topological_order(adj)[source]#

Order of the nodes in which every edge between components points forward.

Nodes of the same SCC are contiguous and keep their original order.