rustworkx.PyDAG.filter\_nodes ============================= .. currentmodule:: rustworkx .. automethod:: PyDAG.filter_nodes