Move dot.go to its own package. Export VertexSlice and EdgeSlice.