Skip to content

Complete graph

A complete graph is a type of graph where every pair of vertices has a direct edge connecting them. In other words, in a complete graph, you can get from any vertex to any other vertex in just one step.

Complete graph: a graph where every pair of vertices is directly connected by an edge.

A complete graph with n vertices is often written as . For example:

  • is a complete graph with 3 vertices, where each vertex is connected to the other two vertices.
  • is a complete graph with 4 vertices, where each vertex is connected to the other three vertices.

In a complete graph with vertices:

This assumes the graph is undirected.

For a complete graph with vertices: