code: func (g *marshalGraph) add(v *marshalVertex) {
  	g.Vertices = append(g.Vertices, v)
  	sort.Sort(vertices(g.Vertices))
  }
docs: // The add, remove, connect, removeEdge methods mirror the basic Graph
  // manipulations to reconstruct a marshalGraph from a debug log.