GraphComplement returns the complement of a graph G, that is the graph with the same vertex set as G, but whose edge (arc) set consists of the edges (arcs) not present in G.
C ≔ CycleGraph⁡5
C≔Graph 1: an undirected unweighted graph with 5 vertices and 5 edge(s)
G ≔ GraphComplement⁡C
G≔Graph 2: an undirected unweighted graph with 5 vertices and 5 edge(s)
Download Help Document
What kind of issue would you like to report? (Optional)