clearSubgraph when coloring. Clearcoloring when node is deleted