networkx.algorithms.traversal.breadth_first_search.bfs_tree
networkx.algorithms.traversal.breadth_first_search.bfs_successors
Enter search terms or a module, class or function name.
Return dictionary of predecessors in breadth-first-search from source.