gives the graph complement of the graph g.
uses rules vw to specify the graph g.
Details and Options
- The graph complement has the same vertices and edges defined by two vertices being adjacent only if they are not adjacent in g.
- GraphComplement works with undirected graphs, directed graphs, multigraphs, and mixed graphs.
Examplesopen allclose all
Introduced in 2010
(8.0)| Updated in 2015