GraphTheory
DisjointUnion
disjoint union
Calling Sequence
Parameters
Description
Examples
DisjointUnion(G1,...,Gs)
G1,...,Gs
-
graphs
The DisjointUnion command returns the disjoint union of the input graphs.
with⁡GraphTheory:
G≔DisjointUnion⁡CycleGraph⁡3,PathGraph⁡3
G≔Graph 1: an undirected graph with 6 vertices and 5 edge(s)
Vertices⁡G
1:1,1:2,1:3,2:1,2:2,2:3
DegreeSequence⁡G
2,2,2,1,2,1
See Also
CartesianProduct
GraphJoin
GraphUnion
Download Help Document