rustworkx.PyGraph.remove_node¶ PyGraph.remove_node(node, /)¶ Remove a node from the graph. Parameters: node (int) – The index of the node to remove. If the index is not present in the graph it will be ignored and this function will have no effect.