fixed edge reference to vertex endpoints, this will allow the edge to know where it should be visualized