Note

This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.

rustworkx.PyDAG.nodes#

PyDAG.nodes()#

Return a list of all node data.

Returns:

A list of all the node data objects in the graph

Return type:

list