rustworkx.PyDiGraph.nodes

PyDiGraph.nodes()

Return a list of all node data.

Returns:

A list of all the node data objects in the graph

Return type:

list[S]