graph can now safely delete temp nodes and edges