rustworkx.PyGraph.clear#

PyGraph.clear()#

Clears all nodes and edges