finalize graph storage functions for vertexes