networkx.algorithms.coloring.strategy_random_sequential

strategy_random_sequential(G, colors, seed=None)[source]

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

G is a NetworkX graph. colors is ignored.

seedinteger, random_state, or None (default)

Indicator of random number generation state. See Randomness.