An improved planar graph product structure theorem
Abstract
Dujmović, Joret, Micek, Morin, Ueckerdt and Wood [J. ACM 2020] proved that for every planar graph there is a graph with treewidth at most 8 and a path such that . We improve this result by replacing “treewidth at most 8” by “simple treewidth at most 6”.
1 Introduction
This paper is motivated by the following question: what is the global structure of planar graphs? Recently, Dujmović et al. [12] gave an answer to this question that describes planar graphs in terms of products of simpler graphs, in particular, graphs of bounded treewidth. In this note, we improve this result in two respects. To describe the result from [12] and our improvement, we need the following definitions.
A tree-decomposition of a graph is a collection of subsets of (called bags) indexed by the nodes of a tree , such that:
-
(a)
for every edge , some bag contains both and , and
-
(b)
for every vertex , the set induces a non-empty (connected) subtree of .
The width of a tree decomposition is the size of the largest bag minus 1. The treewidth of a graph , denoted by , is the minimum width of a tree decomposition of . These definitions are due to Robertson and Seymour [21]. Treewidth is recognised as the most important measure of how similar a given graph is to a tree. Indeed, a connected graph with at least two vertices has treewidth 1 if and only if it is a tree. See [15, 20, 3] for surveys on treewidth.
A tree-decomposition of a graph is -simple, for some , if it has width at most , and for every set of vertices in , we have . The simple treewidth of a graph , denoted by , is the minimum such that has a -simple tree-decomposition. Simple treewidth appears in several places in the literature under various guises [16, 17, 18, 22]. The following facts are well-known: A graph has simple treewidth 1 if and only if it is a linear forest. A graph has simple treewidth at most 2 if and only if it is outerplanar. A graph has simple treewidth at most 3 if and only if it has treewidth at most 3 and is planar [17]. The edge-maximal graphs with simple treewidth 3 are ubiquitous objects, called planar 3-trees or stacked triangulations in structural graph theory and graph drawing [2, 17], called stacked polytopes in polytope theory [7], and called Apollonian networks in enumerative and random graph theory [14]. It is also known and easily proved that for every graph (see [16, 22]).
The strong product of graphs and , denoted by , is the graph with vertex set , where distinct vertices are adjacent if (1) and , or (2) and , or (3) and .
Dujmović et al. [12] proved the following theorem describing the global structure of planar graphs.
Theorem 1 ([12]).
Every planar graph is isomorphic to a subgraph of , for some planar graph with treewidth at most 8 and some path .
Theorem 1 has been used to solve several open problems regarding queue layouts [12], non-repetitive colourings [10], centered colourings [8], clustered colourings [11], adjacency labellings [4, 9, 13], and vertex rankings [5].
We modify the proof of Theorem 1 to establish the following.
Theorem 2.
Every planar graph is isomorphic to a subgraph of , for some planar graph with simple treewidth at most 6 and some path .
Theorem 2 improves upon Theorem 1 in two respects. First it is for simple treewidth (although it should be said that the proof of Theorem 1 gives the analogous result for simple treewidth 8). The main improvement is to replace 8 by 6, which does require new ideas. The proof of Theorem 2 builds heavily on the proof of Theorem 1, which in turn builds on a result of Pilipczuk and Siebertz [19], who showed that every planar graph has a partition into geodesic paths whose contraction gives a graph with treewidth at most 8.
2 Proof of Theorem 2
Our goal is to find a given planar graph as a subgraph of for some graph of small treewidth and path . Dujmović et al. [12] showed this can be done by partitioning the vertices of into so-called vertical paths in a BFS spanning tree so that contracting each path into a single vertex gives the graph (see Lemma 3 and Figure 1 below).
To formalise this idea, we need the following terminology and notation. A partition of a graph is a set of connected subgraphs of , such that each vertex of is in exactly one subgraph in . The quotient of , denoted , is the graph with vertex set , where distinct elements are adjacent in if there is an edge of with endpoints in and . Note that is a minor of , so if is planar then is planar.
If is a tree rooted at a vertex , then a non-empty path in is vertical if for some for all we have .
Lemma 3 ([12]).
Let be a BFS spanning tree in a connected graph . Let be a partition of into vertical paths in . Then is isomorphic to a subgraph of , for some path .

The heart of this paper is Lemma 5 below, which is an improved version of the key lemma from [12]. The statement of Lemma 5 is identical to Lemma 13 from [12], except that we require to be partitioned into at most instead of paths and that the tree-decomposition of is 6-simple.
For a cycle , we write if are pairwise disjoint non-empty paths in , and the endpoints of each path can be labelled and so that for , where means . This implies that .
Lemma 4 (Sperner’s Lemma).
Let be a near-triangulation whose vertices are coloured , with the outerface where each vertex in is coloured . Then contains an internal face whose vertices are coloured .
Lemma 5.
Let be a plane triangulation, let be a spanning tree of rooted at some vertex on the outerface of , and let for some , be pairwise disjoint vertical paths in such that is a cycle in . Let be the near-triangulation consisting of all the edges and vertices of contained in and the interior of . Then has a partition into paths in that are vertical in , such that and the quotient has a 6-simple tree-decomposition such that some bag contains all the vertices of corresponding to .
Proof.
The proof is by induction on . If , then is a 3-cycle and . The partition into vertical paths is . The tree-decomposition of consists of a single bag that contains the vertices corresponding to . Now assume that .
We now set up an application of Sperner’s Lemma to the near-triangulation . We begin by colouring the vertices in colours. For , colour each vertex in by . Now, for each remaining vertex in , consider the path from to the root of . Since is on the outerface of , contains at least one vertex of . If the first vertex of that belongs to is in , then assign the colour to . The set of all vertices of colour induces a connected subgraph of for each . Consider the graph obtained by contracting each colour class into a single vertex . Since is planar, is planar. (In fact, is outerplanar, although we will not use this property.) Moreover, if then is a cycle in . Since , we may assume without loss of generality that either or and is not an edge in ; that is, no vertex coloured is adjacent to a vertex coloured .
Group consecutive paths from as follows:
-
•
If then, since is a cycle, has at least three vertices, so for two distinct vertices and . Let , and .
-
•
If then, without loss of generality, has at least two vertices, say . Let , and .
-
•
If then let , and .
-
•
If then let , and .
-
•
If then let , and .
We now derive a -colouring from the -colouring above. For , colour each vertex in by . Now, for each remaining vertex in , consider again the path from to the root of and if the first vertex of that belongs to is in , then assign the colour to . Hence, for we obtain exactly the same 3-colouring as above, while for some pairs of colour classes from the -colouring are merged into one colour class in the -colouring. In each case, we obtain a 3-colouring of that satisfies the conditions of Lemma 4. Therefore there exists a triangular face of whose vertices are coloured respectively; see Figure 2.

For each , let be the path in from to the first ancestor of in that is in . Observe that , , and are disjoint since consists only of vertices coloured . Note that may consist of the single vertex . Let be minus its final vertex . Imagine for a moment that the cycle is oriented clockwise, which defines an orientation of , and . Let be the subpath of that contains and all vertices that precede it, and let be the subpath of that contains and all vertices that succeed it.
Consider the subgraph of that consists of the edges and vertices of , the edges and vertices of , and the edges and vertices of . This graph has an outerface, an inner face , and up to three more inner faces where , where we use the convention that and . Note that may be degenerate in the sense that may consist only of a single edge .
Consider any non-degenerate . Note that these four paths are pairwise disjoint, and thus is a cycle. If and are non-empty, then each is a vertical path in . Furthermore, each of and consists of at most two vertical paths in . Thus, is the concatenation of at most six vertical paths in . Let be the actual number of (non-empty) vertical paths whose concatenation gives . Then and since and consist of only one vertical path in . Also, if then consists of only one vertical path in , implying . If , then in our preliminary -colouring no vertex coloured is adjacent to a vertex coloured . Since is an edge, this means that either lies on or lies on or both. In any case, at least one of and consists of only one vertical path in , which again gives .
So is the concatenation of vertical paths in for each . Let be the near-triangulation consisting of all the edges and vertices of contained in and the interior of . Observe that contains and but not the third vertex of . Therefore satisfies the conditions of the lemma and has fewer than vertices. By induction, has a partition into vertical paths in , such that has a 6-simple tree-decomposition in which some bag contains the vertices of corresponding to the at most five vertical paths that form . Do this for each non-degenerate .
We now construct the desired partition of . Initialise . Then add each non-empty to . Now for each non-degenerate , classify each path in as either external (that is, fully contained in ) or internal (with no vertex in ). Add all the internal paths of to . By construction, partitions into vertical paths in and contains .
Let . Next we construct a tree-decomposition of . Let be the tree obtained from the disjoint union of , taken over the such that is non-degenerate, by adding one new node adjacent to each . (Recall that is the node of for which the bag contains the vertices of corresponding to the paths that form .) Let the bag contain all the vertices of corresponding to . For each non-degenerate , and for each node , initialise . Recall that vertices of correspond to contracted paths in . Each internal path in is in . Each external path in is a subpath of for some or is one of . For each such path , for every , in bag , replace each instance of the vertex of corresponding to by the vertex of corresponding to the path among that contains . This completes the description of . By construction, for every .
First we show that for each vertex in , the set forms a subtree of . If corresponds to a path distinct from then is fully contained in for some . Thus, by induction is non-empty and connected in , so it is in . If corresponds to which is one of the paths among then and whenever contains a vertex of it is because some external path of was replaced by . In particular, we would have in that case. Again by induction each is connected and since , we conclude that induces a (connected) subtree of .
Now we show that, for every edge of , there is a bag that contains and . If and are both obtained by contracting any of , then and both appear in . If and are both in for some , then some bag contains both and . Finally, when is obtained by contracting a path in and is obtained by contracting a path not in , then the cycle separates from so the edge is not present in . This concludes the proof that is a tree-decomposition of . Note that contains the vertices of corresponding to .
By assumption the tree-decomposition of is 6-simple for . Since for each , the tree-decomposition of is 6-simple, unless , which only occurs if (since ). Now assume that . Recall again that either lies on or lies on or both. Without loss of generality, lies on , and thus there is no edge between and .

We now modify the above tree-decomposition of in the case. See Figure 3 for an illustration. First delete node from and the corresponding bag . Add a new node to adjacent to and , where consists of the vertices of corresponding to . Thus . Add a node to adjacent to and , where consists of the vertices of corresponding to . Thus and is a tree-decomposition of with width 6. Since has no vertex in , the vertex of corresponding to is not in , and thus the nodes of whose bags contain this vertex form a connected subtree of . Similarly, the vertex of corresponding to is not in and thus the nodes of whose bags contain this vertex form a connected subtree of . The argument for the other vertices of is identical to that above. This completes the proof that is a tree-decomposition of with width at most 6. It is 6-simple since the tree-decompositions of , and are 6-simple, and and and . Moreover, contains the vertices of corresponding to as desired. ∎
The following corollary of Lemma 5 is a direct analogue of the corresponding result in [12, Theorem 12].
Corollary 6.
Let be a rooted spanning tree in a connected planar graph . Then has a partition into vertical paths in such that .
Proof.
The result is trivial if . Now assume . Let be the root of . Let be a plane triangulation containing as a spanning subgraph with on the outerface of . The three vertices on the outerface of are vertical (singleton) paths in . Thus, satisfies the assumptions of Lemma 5 with and being the outerface, which implies that has a partition into vertical paths in such that . Note that is a subgraph of . Hence . ∎
Corollaries 6 and 3 imply Theorem 2 (since we may assume that is connected).
We conclude with an open problem. Bose et al. [6] defined the row treewidth of a graph to be the minimum integer such that is isomorphic to a subgraph of for some graph with treewidth and for some path . Theorem 1 by Dujmović et al. [12] says that planar graphs have row treewidth at most 8. Our Theorem 2 improves this upper bound to 6. Dujmović et al. [12] proved a lower bound of 3. In fact, they showed that for every integer there is a planar graph such that for every graph and path , if is isomorphic to a subgraph of , then contains and thus has treewidth at least 3. What is the maximum row treewidth of a planar graph is a tantalising open problem.
References
- Aigner and Ziegler [2010] Martin Aigner and Günter M. Ziegler. Proofs from The Book. Springer, 4th edn., 2010.
- Arnborg and Proskurowski [1986] Stefan Arnborg and Andrzej Proskurowski. Characterization and recognition of partial -trees. SIAM J. Algebraic Discrete Methods, 7(2):305–314, 1986.
- Bodlaender [1998] Hans L. Bodlaender. A partial -arboretum of graphs with bounded treewidth. Theoret. Comput. Sci., 209(1-2):1–45, 1998.
- Bonamy et al. [2020] Marthe Bonamy, Cyril Gavoille, and Michał Pilipczuk. Shorter labeling schemes for planar graphs. In Shuchi Chawla, ed., Proc. ACM-SIAM Symp. on Discrete Algorithms (SODA ’20), pp. 446–462. 2020. arXiv:1908.03341.
- Bose et al. [2020] Prosenjit Bose, Vida Dujmović, Mehrnoosh Javarsineh, and Pat Morin. Asymptotically optimal vertex ranking of planar graphs. arXiv:2007.06455, 2020.
- Bose et al. [2021] Prosenjit Bose, Vida Dujmović, Mehrnoosh Javarsineh, Pat Morin, and David R. Wood. Separating layered treewidth and row treewidth. arXiv:2105.01230, 2021.
- Chen [2016] Hao Chen. Apollonian ball packings and stacked polytopes. Discrete Comput. Geom., 55(4):801–826, 2016.
- Dębski et al. [2020] Michał Dębski, Stefan Felsner, Piotr Micek, and Felix Schröder. Improved bounds for centered colorings. In Shuchi Chawla, ed., Proc. ACM-SIAM Symp. on Discrete Algorithms (SODA ’20), pp. 2212–2226. 2020. arXiv:1907.04586.
- Dujmović et al. [pear] Vida Dujmović, Louis Esperet, Gwenaël Joret, Cyril Gavoille, Piotr Micek, and Pat Morin. Adjacency labelling for planar graphs (and beyond). J. ACM, to appear. arXiv:2003.04280.
- Dujmović et al. [2020a] Vida Dujmović, Louis Esperet, Gwenaël Joret, Bartosz Walczak, and David R. Wood. Planar graphs have bounded nonrepetitive chromatic number. Advances in Combinatorics, 5, 2020a.
- Dujmović et al. [2021] Vida Dujmović, Louis Esperet, Pat Morin, Bartosz Walczak, and David R. Wood. Clustered 3-colouring graphs of bounded degree. Combinatorics, Probability & Computing, 2021. arXiv:2002.11721.
- Dujmović et al. [2020b] Vida Dujmović, Gwenaël Joret, Piotr Micek, Pat Morin, Torsten Ueckerdt, and David R. Wood. Planar graphs have bounded queue-number. J. ACM, 67(4):22, 2020b.
- Esperet et al. [2020] Louis Esperet, Gwenaël Joret, and Pat Morin. Sparse universal graphs for planarity. 2020. arXiv:2010.05779.
- Frieze and Tsourakakis [2014] Alan Frieze and Charalampos E. Tsourakakis. Some properties of random Apollonian networks. Internet Math., 10(1-2):162–187, 2014.
- Harvey and Wood [2017] Daniel J. Harvey and David R. Wood. Parameters tied to treewidth. J. Graph Theory, 84(4):364–385, 2017.
- Knauer and Ueckerdt [2012] Kolja Knauer and Torsten Ueckerdt. Simple treewidth. In Pavel Rytír, ed., Midsummer Combinatorial Workshop Prague. 2012.
- Kratochvíl and Vaner [2012] Jan Kratochvíl and Michal Vaner. A note on planar partial 3-trees. arXiv:1210.8113, 2012.
- Markenzon et al. [2006] Lilian Markenzon, Claudia Marcela Justel, and N. Paciornik. Subclasses of -trees: characterization and recognition. Discrete Appl. Math., 154(5):818–825, 2006.
- Pilipczuk and Siebertz [2019] Michał Pilipczuk and Sebastian Siebertz. Polynomial bounds for centered colorings on proper minor-closed graph classes. In Timothy M. Chan, ed., Proc. 30th Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 1501–1520. 2019. arXiv:1807.03683.
- Reed [2003] Bruce A. Reed. Algorithmic aspects of tree width. In Recent advances in algorithms and combinatorics, vol. 11, pp. 85–107. Springer, 2003.
- Robertson and Seymour [1986] Neil Robertson and Paul Seymour. Graph minors. II. Algorithmic aspects of tree-width. J. Algorithms, 7(3):309–322, 1986.
- Wulf [2016] Lasse Wulf. Stacked treewidth and the Colin de Verdiére number. 2016. Bachelorthesis, Institute of Theoretical Computer Science, Karlsruhe Institute of Technology.