Graphs are one of the simplest sorts of topological spaces. In fact, they’re so simple that topologists don’t usually spend much time studying them. Their homology and homotopy groups are determined purely combinatorially; every connected graph is homotopy equivalent to a wedge sum of circles. Graph theory focuses on stricter combinatorial invariants, usually even stricter than homeomorphism. However, a lot of the algebraic tools that topologists use to study topological spaces have combinatorial properties that encode more than just homotopical information when applied to graphs. Let’s look at the chain complex of a graph, viewed as a simplicial complex.

This is a very simple algebraic object, a complex

0ZEZV0\cdots \to 0 \to \mathbb{Z}^{|E|} \to \mathbb{Z}^{|V|} \to 0 \to \cdots

A flow on GG is an element of the kernel of the only nontrivial boundary map of GG. That is, given an orientation of the edges, it is a choice of an integer xex_e for each edge ee of GG satisfying Kirchoff’s current law: the net flow out of any vertex is zero. This is a very familiar topological object; the kernel of the boundary map is just H1(G)H_1(G). The fact that we care about the particular combinatorial structure of GG, however, means that the actual construction of the boundary map is relevant, not just its homology up to isomorphism. In particular, we can look at the way that H1(G)H_1(G) sits inside C1(G)=ZEC_1(G) = \mathbb{Z}^{|E|}. One way to do this is to consider the set of kk-flows: flows that are less than kk in absolute value. By restricting the size of flows, we have gone from a homotopy-invariant object to one depending on the specific combinatorial structure of GG.

While combinatorial, this quantity still has a sort of topological feel, and topological thinking is still relevant. For example, suppose GG is a planar graph with dual GG'. Every kk-coloring of GG' gives a nowhere-zero kk-flow on GG.

To see this, let’s first review the relationship between GG and GG' from a topological perspective. Since GG is a planar graph, it corresponds to a cell decomposition of a simply-connected closed subset of S2S^2.

G and its cell decomposition

The complement of this subset in S2S^2 is an open disc, so we in fact get a cell decomposition of the sphere. If GG is bridge-free, this decomposition is a regular cell decomposition, which means that it has a Poincaré dual.

The dual graph G'

Consider the dual cell complexes XX and XX', coming from GG and GG'. Both are decompositions of S2S^2, and by construction, we have Ci(X)=C2i(X)C^i(X) = C^{2-i}(X'). Indeed, the following diagram commutes:

Dual complexes

Now, suppose we have a coloring of GG', which corresponds to a coloring of the 2-cells of GG. Integer-valued 0-cochains on GG' correspond to colorings, in that if we have a 0-cochain with values in {0,,k1}\{0,\ldots,k-1\} whose coboundary vanishes nowhere, it defines a kk-coloring of GG', and vice versa.

Colored graph and dual

Given a kk-coloring of GG', represented as a 0-cochain xx, we take δx\delta x, giving a nowhere-vanishing 1-cochain of GG'. By duality, this corresponds to a 1-chain yy of GG, and we see that y=0\partial y = 0 because δ2x=0\delta^2 x = 0. Note also that yy can never exceed k1k-1 in absolute value, since its value on each edge is the difference of two terms in {0,,k1}\{0,\ldots,k-1\}. This shows that every kk-coloring of GG' gives a kk-flow of GG.

To go from flows to colorings is a bit trickier. A flow yy on GG is an element of ker1\ker \partial_1, since H1(S2)=0H_1(S^2) = 0, ker1=im 2\ker \partial_1 = \text{im } \partial_2. Thus, every flow on GG is the image of a 2-chain on XX, which corresponds to a 0-cochain xx on XX'. If yy is nowhere-zero, xx defines a coloring, since it differs over every edge. To get a kk-coloring, we will use a trick: mod everything out by kk. A nowhere-zero kk-flow clearly becomes a nowhere-zero Z/k\mathbb Z/k-flow. And a 0-cochain valued in Z/k\mathbb Z / k whose coboundary vanishes nowhere is clearly equivalent to a kk-coloring. Since none of the algebra changes when we take the quotient, we see that xx defines a kk-coloring of GG'.

The flow-coloring duality gives an alternate statement of the four-color theorem: every (bridgeless) planar graph has a nowhere-zero 4-flow. A conjecture that then has the same spirit as the four-color theorem is that every bridgeless graph has a nowhere-zero 5-flow.

This flow-coloring duality extends to higher-dimensional structures. If XX and XX' are dual cell structures on a compact manifold MM of dimension nn, where Hn1(M)=0H_{n-1}(M) = 0, then nowhere-zero (n1)(n-1)-cycles of XX which are everywhere less than kk in absolute value correspond to kk-colorings of the 0-cells of XX'. I’m not aware of anyone who has studied this, but it seems like an interesting connection between graph theory, topology, and the combinatorics of cell complexes.