Return a list of nodes in topological sort order.
A topological sort is a nonunique permutation of the nodes such that an edge from u to v implies that u appears before v in the topological sort order.
Parameters : | G : NetworkX digraph nbunch : container of nodes (optional)
|
---|---|
Raises : | NetworkXError :
NetworkXUnfeasible :
|
See also
Notes
This is a recursive version of topological sort.