removing a vertex will remove all edges where this vertex is used in all graphs