Symmetric difference of simple graphs #
Simple graphs on V form a Boolean algebra, so two graphs have a symmetric difference. Its edges
are the edges of exactly one of the two graphs.
Main results #
SimpleGraph.symmDiff_adj: adjacency in the symmetric difference of two graphs.SimpleGraph.edgeSet_symmDiff: the edge set of a symmetric difference is the symmetric difference of the edge sets.
@[simp]
The edge set of the symmetric difference of two graphs is the symmetric difference of their edge sets.