Fix bug : can delete node in the graph.