rustworkx.PyGraph.node_indices#

PyGraph.node_indices()#

Return a list of all node indices.

Returns:

A list of all the node indices in the graph

Return type:

NodeIndices