NetworkX

Previous topic

dfs_preorder_nodes

Next topic

dfs_labeled_edges

dfs_postorder_nodes

dfs_postorder_nodes(G, source=None)[source]

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