7.9.3. networkx.algorithms.coloring.strategy_connected_sequential_dfs¶
-
networkx.algorithms.coloring.strategy_connected_sequential_dfs(G, colors)[source]¶ Returns an iterable over nodes in
Gin the order given by a depth-first traversal.The generated sequence has the property that for each node except the first, at least one neighbor appeared earlier in the sequence.
Gis a NetworkX graph.colorsis ignored.