Modified graph to include x and y position for vertex