up to 6 graphs handled, graph deletion implemented