basic graph interface refactor (use make_vertex and make_edge)