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.
Introduced in 2010Updated in 2015