Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

networkx.algorithms.coloring.strategy_random_sequential

strategy_random_sequential(G, colors)[source]

Returns a random permutation of the nodes of G as a list.

G is a NetworkX graph. colors is ignored.