[0].extend(nx.algorithms.bfs_successors(G, 0).values()) # Get your first, node, and extend with a list of all successor nodes in BFS order.
確定! 回上一頁