Added a Graph unit test and fixed a bug in Vertex.
Fixed an edit collision.