|
SOLUTIONS
|
Mathematica
>
Mathematics and Algorithms
>
Graphs & Networks
>
Graph Operations and Modifications
>
VertexAdd
BUILT-IN MATHEMATICA SYMBOL
VertexAdd
VertexAdd[g, v]
makes a graph by adding the vertex v to the graph g.
VertexAdd[g, {v1, v2, ...}]
adds a collection of vertices to g.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Add a vertex to a complete graph:
| In[1]:= |
| Out[1]= | ![]() |
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


