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.PyGraph.clear#
- PyGraph.clear()#
Clears all nodes and edges
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.
Clears all nodes and edges