NetworkX

Previous topic

dfs_edges

Next topic

dfs_predecessors

dfs_tree

dfs_tree(G, source=None)[source]

Return directed tree of depth-first-search from source.