NetworkX

Previous topic

networkx.algorithms.traversal.depth_first_search.dfs_preorder_nodes

Next topic

networkx.algorithms.traversal.depth_first_search.dfs_labeled_edges

networkx.algorithms.traversal.depth_first_search.dfs_postorder_nodes

networkx.algorithms.traversal.depth_first_search.dfs_postorder_nodes(G, source=None)

Produce nodes in a depth-first-search post-ordering starting from source.