rustworkx.PyDiGraph.node_indices#

PyDiGraph.node_indices()#

Return a list of all node indices.

Returns:

A list of all the node indices in the graph

Return type:

NodeIndices