AddVertices
AddVertices[g,n]
adds n disconnected vertices to graph g.
AddVertices[g,vList]
adds vertices in vList to g. vList contains embedding and graphics information and can have the form {x,y} or {{x1,y1},{x2,y2}…} or the form {{{x1,y1},g1},{{x2,y2},g2},…}, where {x,y}, {x1,y1}, and {x2,y2} are point coordinates and g1 and g2 are graphics information associated with vertices.
Details and Options
- AddVertices functionality is now available in the built-in Wolfram Language function VertexAdd.
- To use AddVertices, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Text
Wolfram Research (2012), AddVertices, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/AddVertices.html.
CMS
Wolfram Language. 2012. "AddVertices." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/AddVertices.html.
APA
Wolfram Language. (2012). AddVertices. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/AddVertices.html