H = addVertex (G, v)
H = addVertices (G, L)
This method will add vertices (as singletons) to any already present graph. Note that if you add a vertex that is already in the vertex set of the input graph, that vertex will be ignored.
|
|
The object addVertex is a method function.
The source of this document is in Graphs.m2:4991:0.