Added ability to delete nodes from graph.