pass the vertex id to be deleted to the local_graph object