rustworkx.PyDAG.clear

PyDAG.clear()

Clear all nodes and edges