add Vertices
Add a collection of vertices to the graph. Fail if any vertex is already present in the graph, or if it occurs multiple times in the given collection. The vertices initially have no edges within this graph.
Parameters
vertices
The vertices to add to the graph.