- (graph-vertex-add (G <graph>) vertex [#!rest attr])method
- (graph-vertex-add! (G <graph>) vertex [#!rest attr])method
Adds a vertex with attributes attr to a graph G. Raises an error if the vertex already exists within the graph.
- the graph you wish to add a vertex to
- the vertex (identifier) you wish to add
- a series of keyword / value pairs that define vertex attributes