rustworkx.PyDiGraph.clear#

PyDiGraph.clear()#

Clear all nodes and edges