NetworkX

Previous topic

networkx.algorithms.traversal.depth_first_search.dfs_labeled_edges

Next topic

networkx.algorithms.traversal.breadth_first_search.bfs_tree

networkx.algorithms.traversal.breadth_first_search.bfs_edges

networkx.algorithms.traversal.breadth_first_search.bfs_edges(G, source)

Produce edges in a breadth-first-search starting at source.