add function graph->removeNode()