fix return var on populate_symmetric_edge
fix typo in get_vertex_key
populate edges with vertices