networkx.dfs_tree
networkx.dfs_postorder
Enter search terms or a module, class or function name.
Return list of nodes connected to source in depth-first-search preorder.
Traverse the graph G with depth-first-search from source. Non-recursive algorithm.