NetworkX

Previous topic

networkx.dfs_postorder

Next topic

networkx.dfs_successor

networkx.dfs_predecessor

dfs_predecessor(G, source=None, reverse_graph=False)
Return predecessors of depth-first-search with root at source.