WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Operations on Graphs

ClawGraph
BullGraph
graph operation
union
disjoint union
difference -
intersection
All common graph operations and more are built into Mathematica 8. This Demonstration lets you choose two graphs and the operation to apply to them. The graph union of two graphs
G
and
H
is the graph whose vertices and edges are the union of the corresponding vertices and edges of
G
and
H
. Sometimes we want to see
G
and
H
as two disjoint structures that are to be put together to form a bigger one; then we use the disjoint union. The difference
G-H
is obtained by joining their vertices and deleting the edges of
H
from the edges of
G
. The intersection
GH
is the graph obtained by joining the vertices and intersecting the edges.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.