- A graph is complete if there is an edge between every pair of distinct vertices.
- CompleteGraphQ works with undirected graphs, directed graphs, multigraphs, and mixed graphs.
Examplesopen allclose all
Properties & Relations (11)
A TreeGraph is not a complete graph:
The GraphComplement of a complete graph is an empty graph:
For a complete graph, all entries outside the diagonal are 1s in the AdjacencyMatrix:
Wolfram Research (2010), CompleteGraphQ, Wolfram Language function, https://reference.wolfram.com/language/ref/CompleteGraphQ.html (updated 2014).
Wolfram Language. 2010. "CompleteGraphQ." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/CompleteGraphQ.html.
Wolfram Language. (2010). CompleteGraphQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CompleteGraphQ.html