Add get_edges and get_vertices to metaprogram