rustworkx.PyDiGraph.clear ========================= .. currentmodule:: rustworkx .. automethod:: PyDiGraph.clear