rustworkx.PyDAG.clear_edges

PyDAG.clear_edges()

Clears all edges, leaves nodes intact