Skip to content

Total graph

A graph encoding both vertices and edges of a source graph, with adjacency for adjacency or incidence in the source.

Version
v1 · 2026-09-28 · History
Domain-specific #
12588
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Graph Theory → Mathematics
Aliases
Total graph T(G)

Core Idea

The total graph T(G) turns both the vertices and the edges of a finite simple undirected source graph G into vertices of a new graph. Two resulting vertices are adjacent precisely if their source elements are adjacent vertices, adjacent edges sharing an endpoint, or an incident vertex-edge pair. Thus it packages three relation types into one ordinary adjacency relation while retaining a mapping back to the original mixed elements.

One use is total coloring: a proper assignment of colors to source vertices and edges under all three conflict rules is just a proper vertex coloring of T(G). The total graph is the carrier of that translation, not the coloring itself. Behzad and Chartrand introduced the construction to study graph traversal, so coloring is not its only research use. A line graph is smaller because it represents only source edges; an incidence graph omits the same-type adjacencies. The source graph's finite simple undirected convention should be stated when using this definition.

How would you explain it like I'm…

Dots-and-Lines Become Dots

Draw some dots and connect some of them with lines. Now pretend every dot and every line becomes a new dot of its own. Connect two new dots if their old things were touching: two dots joined by a line, two lines meeting at a dot, or a line and a dot at its end. That new drawing is the Total graph.

Everything-Becomes-a-Dot Graph

A graph is a picture made of dots (vertices) and lines (edges) joining some dots. To make the total graph, you turn every dot and every line of the first picture into a brand-new dot. Then you join two new dots if the things they came from were neighbors: two dots joined by a line, two lines that share an end, or a dot and a line that touches it. This puts three kinds of "being neighbors" into one simple picture. It helps with puzzles like coloring the dots and lines so that no neighbors share a color.

Vertex-and-Edge Graph

Given a simple graph G, its total graph T(G) has one vertex for each vertex of G and one vertex for each edge of G. Two vertices of T(G) are adjacent exactly when the original elements are adjacent vertices, adjacent edges (sharing an endpoint), or a vertex and an edge incident to it. So three different kinds of relationship get packed into one ordinary 'is adjacent to' relation, while you can still tell which new vertex came from which old element. A main use is total coloring: coloring G's vertices and edges so no adjacent or incident pair matches is the same thing as properly coloring the vertices of T(G). Compare the line graph, which only turns edges into vertices, and the incidence graph, which records only vertex-edge incidence and skips the same-type adjacencies.

 

The total graph T(G) of a finite simple undirected graph G has vertex set V(G) ∪ E(G). Two elements are adjacent in T(G) exactly when they are adjacent vertices in G, edges of G sharing an endpoint, or an incident vertex-edge pair. The construction encodes three distinct relation types (vertex-vertex adjacency, edge-edge adjacency, and incidence) into a single ordinary adjacency relation while keeping a map back to the original mixed elements. Its best-known use is total coloring: a proper coloring of G's vertices and edges under all three conflict rules is exactly a proper vertex coloring of T(G), so T(G) is the carrier of that translation rather than the coloring itself. Behzad and Chartrand introduced it to study graph traversal, so coloring is not its only purpose. The line graph is smaller, representing only edges, while the incidence graph omits the same-type adjacencies.

Scope of Application

The source graph and all three encoded relation types must be recoverable from the constructed graph.

  • Graph transformations. Translate mixed vertex-edge constraints into ordinary adjacency.
  • Total coloring. Study chromatic conditions as vertex coloring on T(G).
  • Traversal research. Analyze paths and cycles in the constructed graph, as in the original study.
  • Graph comparison. Distinguish total, line, and incidence constructions by their retained relations.

Clarity

T(G) turns every vertex and edge of G into a vertex, then links pairs for source adjacency or incidence. A line graph is the nearest miss because it omits original vertices; an incidence graph omits same-type links. For a–b–c with edges e,f, the mixed vertex set is {a,b,c,e,f}. A proper vertex coloring of T(G) corresponds to total coloring of G, but T(G) exists without any coloring.

Manages Complexity

T(G) collapses three kinds of source incompatibility into the single adjacency predicate needed by familiar graph algorithms. The savings come at a price: vertices of T(G) no longer visibly indicate whether they came from V or E unless the mapping is retained. Traversal or coloring results must be translated back through that mapping rather than treated as properties of G without qualification.

Abstract Reasoning

  1. State the finite simple source graph and label each source vertex and edge.
  2. Create one total-graph vertex for each source element.
  3. Add links for adjacent source vertices, adjacent source edges, and incident mixed pairs.
  4. Verify the resulting relation against line and incidence graph near misses.
  5. Only then apply a graph property such as coloring or traversability and translate it back.

Knowledge Transfer

The construction transfers between finite simple graphs because V∪E and the three adjacency/incidence rules remain typed. A result about proper vertex colorings of T(G) can be transferred to total colorings of that same G through the exact correspondence, not by reusing a chromatic value for an unrelated graph. Hypergraphs, directed graphs, or multigraphs require a declared variant because loops, parallel edges, and incidence conventions alter the mapping.

Relationships to Other Abstractions

Local relationship map for Total graphParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Total graphDOMAINPrime abstraction: Representation — is a kind ofRepresentationPRIME

Current abstraction Total graph Domain-specific

Parents (1) — outgoing typed relations

  • Total graph is a kind of Representation Prime

    T(G) represents a graph's mixed vertex-edge elements and three relations in one adjacency medium.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Total graph sits in a crowded region of the domain-specific corpus (39th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Graph Structures & Algorithms (24 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14