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.num_nodes#
- PyDAG.num_nodes()#
Return the number of nodes in the graph
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.
Return the number of nodes in the graph