NetworkX

Previous topic

dfs_labeled_edges

Next topic

bfs_tree

bfs_edges

bfs_edges(G, source)[source]

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