rustworkx.PyDiGraph.contract\_nodes =================================== .. currentmodule:: rustworkx .. automethod:: PyDiGraph.contract_nodes