change to using the new addEdge using vertex ids