Planarity and outerplanarity , a planar graph with book thickness three The book thickness of a given graph is at most one if and only if is an
outerplanar graph. An outerplanar graph is a graph that has a planar embedding in which all vertices belong to the outer face of the embedding. For such a graph, placing the vertices in the same order along the spine as they appear in the outer face provides a one-page book embedding of the given graph. (An
articulation point of the graph will necessarily appear more than once in the cyclic ordering of vertices around the outer face, but only one of those copies should be included in the book embedding.) Conversely, a one-page book embedding is automatically an outerplanar embedding. For, if a graph is embedded on a single page, and another half-plane is attached to the spine to extend its page to a complete plane, then the outer face of the embedding includes the entire added half-plane, and all vertices lie on this outer face. If a graph is given a two-page embedding, it can be augmented to a planar Hamiltonian graph by adding (into any page) extra edges between any two consecutive vertices along the spine that are not already adjacent, and between the first and last spine vertices. The
Goldner–Harary graph provides an example of a planar graph that does not have book thickness two: it is a
maximal planar graph, so it is not possible to add any edges to it while preserving planarity, and it does not have a Hamiltonian cycle. All planar graphs whose
maximum degree is at most four have book thickness at most two.
Planar 3-trees have book thickness at most three. More generally, all planar graphs have book thickness four. that there exist some planar graphs that have book thickness exactly four. However, a detailed proof of this claim, announced in a subsequent journal paper, was not known until 2020, when Bekos et al. presented planar graphs with
treewidth 4 that require four pages in any book embedding.
Behavior under subdivisions Subdividing every edge of a graph into two-edge paths, by adding new vertices within each edge, may sometimes increase its book thickness. For instance, the
diamond graph has book thickness one (it is outerplanar) but its subdivision has book thickness two (it is planar and subhamiltonian but not outerplanar). However, this subdivision process can also sometimes significantly reduce the book thickness of the subdivided graph. For instance, the book thickness of the
complete graph is proportional to its number of vertices, but subdividing each of its edges into a two-edge path produces a subdivision whose book thickness is much smaller, only O(\sqrt n). Despite the existence of examples such as this one,
conjectured that a subdivision's book thickness cannot be too much smaller than that of the original graph. Specifically, they conjectured that there exists a function such that, for every graph and for the graph formed by replacing every edge in by a two-edge path, if the book thickness of is then the book thickness of is at most . Their conjecture turned out to be false: graphs formed by
Cartesian products of
stars and
triangular tilings have unbounded book thickness, but subdividing their edges into six-edge paths reduces their book thickness to three.
Relation to other graph invariants Book thickness is related to
thickness, the number of planar graphs needed to cover the edges of the given graph. A graph has thickness if it can be drawn in the plane, and its edges
colored with colors, in such a way that edges of the same color as each other do not cross. Analogously, a graph has book thickness if it can be drawn in a
half plane, with its vertices on the boundary of the half plane, with its edges colored with colors with no crossing between two edges of the same color. In this formulation of book thickness, the colors of the edges correspond to the pages of the book embedding. However, thickness and book thickness can be very different from each other: there exist graphs (
subdivisions of
complete graphs) that have unbounded book thickness, and this bound is tight for . and graphs of
genus have book thickness O(\sqrt g). More generally, it has been stated that every
minor-closed graph family has bounded book thickness. However, the proof of this claim rests on a previous claim that graphs embedded on non-orientable surfaces have bounded book thickness, for which a detailed proof has not been supplied. The
1-planar graphs, which are not closed under minors, but some 1-planar graphs including have book thickness at least four. Every
shallow minor of a graph of bounded book thickness is a
sparse graph, whose ratio of edges to vertices is bounded by a constant that depends only on the depth of the minor and on the book thickness. That is, in the terminology of , the graphs of bounded book thickness have
bounded expansion. Because graphs of book thickness two are planar graphs, they obey the
planar separator theorem: they have separators, subsets of vertices whose removal splits the graph into pieces with at most vertices each, with only O(\sqrt n) vertices in the separator. Here, refers to the number of vertices in the graph. However, there exist graphs of book thickness three that do not have separators of sublinear size. The edges within a single page of a book embedding behave in some ways like a
stack data structure. This can be formalized by considering an arbitrary sequence of push and pop operations on a stack, and forming a graph in which the stack operations correspond to the vertices of the graph, placed in sequence order along the spine of a book embedding. Then, if one draws an edge from each pop operation that pops an object from the stack, to the previous push operation that pushed , the resulting graph will automatically have a one-page embedding. For this reason, the page number of a graph has also been called its
stack number. In the same way, one may consider an arbitrary sequence of enqueue and dequeue operations of a
queue data structure, and form a graph that has these operations as its vertices, placed in order on the spine of a single page, with an edge between each enqueue operation and the corresponding dequeue. Then, in this graph, each two edges will either cross or cover disjoint intervals on the spine. By analogy, researchers have defined a queue embedding of a graph to be an embedding in a topological book such that each vertex lies on the spine, each edge lies in a single page, and each two edges in the same page either cross or cover disjoint intervals on the spine. The minimum number of pages needed for a queue embedding of a graph is called its
queue number.
Computational complexity , the
intersection graph of chords of a circle. For book embeddings with a fixed vertex order, finding the book thickness is equivalent to coloring a derived circle graph. Finding the book thickness of a graph is
NP-hard. This follows from the fact that finding Hamiltonian cycles in maximal planar graphs is
NP-complete. In a maximal planar graph, the book thickness is two if and only if a Hamiltonian cycle exists. Therefore, it is also NP-complete to test whether the book thickness of a given maximal planar graph is two. However, for graphs that require four or more pages, the problem of finding an embedding with the minimum possible number of pages remains NP-hard, via an equivalence to the NP-hard problem of
coloring circle graphs, the
intersection graphs of
chords of a
circle. Given a graph with a fixed spine ordering for its vertices, drawing these vertices in the same order around a circle and drawing the edges of as line segments produces a collection of chords representing . One can then form a circle graph that has the chords of this diagram as vertices and crossing pairs of chords as edges. A coloring of the circle graph represents a partition of the edges of into subsets that can be drawn without crossing on a single page. Therefore, an optimal coloring is equivalent to an optimal book embedding. Since circle graph coloring with four or more colors is NP-hard, and since any circle graph can be formed in this way from some book embedding problem, it follows that optimal book embedding is also NP-hard. For a fixed vertex ordering on the spine of a two-page book drawing, it is also NP-hard to minimize the number of crossings when this number is nonzero. However, it is NP-complete to find a 2-page embedding when neither the spine ordering nor the edge partition is known. Finding the book crossing number of a graph is also NP-hard, because of the NP-completeness of the special case of testing whether the 2-page crossing number is zero. As a consequence of bounded expansion, the
subgraph isomorphism problem, of finding whether a pattern graph of bounded size exists as a subgraph of a larger graph, can be solved in linear time when the larger graph has bounded book thickness. The same is true for detecting whether the pattern graph is an
induced subgraph of the larger graph, or whether it has a
graph homomorphism to the larger graph. For the same reason, the problem of testing whether a graph of bounded book thickness obeys a given formula of
first order logic is
fixed-parameter tractable. describe a system for finding optimal book embeddings by transforming the problem into an instance of the
Boolean satisfiability problem and applying a SAT solver to the resulting problem. They state that their system is capable of finding an optimal embedding for 400-vertex
maximal planar graphs in approximately 20 minutes. ==Applications==