Delete components of graph with D key