|
SOLUTIONS
|
Mathematica
>
Mathematics and Algorithms
>
Graphs & Networks
>
Graph Operations and Modifications
>
GraphDisjointUnion
BUILT-IN MATHEMATICA SYMBOL
GraphDisjointUnion
GraphDisjointUnion[g1, g2]
gives the graph disjoint union of the graphs
and
.
GraphDisjointUnion[g1, g2, ...]
gives the disjoint union of
,
, ....
Details and OptionsDetails and Options
- The graph disjoint union is given by the graph union of IndexGraph[g1, 1] and IndexGraph[g2, n+1] where n is the VertexCount for
.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
The graph disjoint union of two graphs:
| In[1]:= |
| Out[1]= | ![]() |
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


