rustworkx.PyDAG.node_indices#

PyDAG.node_indices()#

Return a list of all node indices.

Returns:

A list of all the node indices in the graph

Return type:

NodeIndices