Abstract 1 Introduction 2 Preliminaries 3 Non-Separated Layouts 4 Separated Layouts 5 Conclusions and Open Questions References

Transforming Stacks into Queues:
Mixed and Separated Layouts of Graphs

Julia Katheder ORCID Wilhelm-Schickard-Institut für Informatik, Universität Tübingen, Germany Michael Kaufmann ORCID Wilhelm-Schickard-Institut für Informatik, Universität Tübingen, Germany Sergey Pupyrev ORCID Menlo Park, CA, USA Torsten Ueckerdt ORCID Institute of Theoretical Informatics, Karlsruhe Institute of Technology, Germany
Abstract

Some of the most important open problems for linear layouts of graphs ask for the relation between a graph’s queue number and its stack number or mixed number. In such, we seek a vertex order and edge partition of G into parts with pairwise non-crossing edges (a stack) or with pairwise non-nesting edges (a queue). Allowing only stacks, only queues, or both, the minimum number of required parts is the graph’s stack number sn(G), queue number qn(G), and mixed number mn(G), respectively.

Already in 1992, Heath and Rosenberg asked whether qn(G) is bounded in terms of sn(G), that is, whether stacks “can be transformed into” queues. This is equivalent to bipartite 3-stack graphs having bounded queue number (Dujmović and Wood, 2005). Recently, Alam et al. asked whether qn(G) is bounded in terms of mn(G), which we show to also be equivalent to the previous questions.

We approach the problem by considering separated linear layouts of bipartite graphs. In this natural setting all vertices of one part must precede all vertices of the other part. Separated stack and queue numbers coincide, and for fixed vertex orders, graphs with bounded separated stack/queue number can be characterized and efficiently recognized, whereas the separated mixed layouts are more challenging. In this work, we thoroughly investigate the relationship between separated and non-separated, mixed and pure linear layouts.

Keywords and phrases:
Separated linear Layouts, Stack Number, Queue Number, mixed Number, bipartite Graphs
Funding:
Julia Katheder: The work of J. Katheder is supported by DFG grant Ka 812-18/2.
Michael Kaufmann: The work of M. Kaufmann is supported by DFG grant Ka 812-18/2.
Torsten Ueckerdt: The work of T. Ueckerdt is supported by DFG - 520723789.
Copyright and License:
[Uncaptioned image] © Julia Katheder, Michael Kaufmann, Sergey Pupyrev, and Torsten Ueckerdt; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Mathematics of computing Graph theory
; Mathematics of computing Combinatorics
Related Version:
Full Version: https://doi.org/10.48550/arXiv.2409.17776 [21]
Editors:
Olaf Beyersdorff, Michał Pilipczuk, Elaine Pimentel, and Nguyễn Kim Thắng

1 Introduction

In this paper we study linear layouts of graphs111Throughout, all graphs in this paper are simple, undirected, finite, and have at least one edge.. That is, for a graph G=(V,E), we consider a total order σ of its vertex set V, while σ defines the relative position of its edges. In particular, we investigate for a graph G its well-known parameters stack number, sn(G), and its queue number, qn(G), as well as their common generalization called its mixed number, mn(G). Their precise definitions go as follows.

Stack, Queue, and Mixed Numbers.

Given a vertex order σ, two edges (u,v) and (x,y) in E are said to cross in σ if any order of their endvertices symmetric to u<σx<σv<σy is prescribed by σ. Roughly speaking, for the stack number of G, we want a vertex order σ in which not many edges pairwise cross. Formally, for an integer s1, an s-stack layout of G=(V,E) is a total order σ of V together with a partition of E into subsets E1,,Es, called stacks, such that no two edges in the same stack cross. The minimum number s of stacks needed for a stack layout of graph G is called its stack number and denoted by sn(G). Stack numbers were first investigated by Bernhart and Kainen [6] in 1979, building on Kainen and Ollman [20, 24]222We remark that s-stack layouts are also known as s-page book embeddings, where stacks are then called pages. Similarly, the stack number sn(G) is sometimes called the book thickness or page number of G..

As a concept “dual” to s-stack layouts, for an integer q1, a q-queue layout of G=(V,E) is a total order σ of V together with a partition of E into subsets E1,,Eq, called queues, such that no two edges in the same queue nest; that is, there are no edges (u,v) and (x,y) in a queue with u<σx<σy<σv (or any symmetric order). The minimum number q of queues needed for a queue layout of graph G is called its queue number and denoted by qn(G). Queue numbers were introduced by Heath and Rosenberg [18] in 1992.

Stack and queue layouts are generalized through the notion of a mixed layout. For integers s,q1, an s-stack q-queue layout of G=(V,E) is a total order σ of V together with a partition of E into s stacks and q queues. The minimum value of s+q needed for an s-stack q-queue layout of graph G is called its mixed number and denoted by mn(G). Mixed layouts were already considered by Heath and Rosenberg [18] in 1992, while a thorough study started only recently [26, 22, 16]. In contrast to mixed layouts, we call a layout pure if only stacks or only queues are being used.

Comparing Stack, Queue, and Mixed Numbers.

Besides their similar definitions, there are more similarities between k-stack graphs, k-queue graphs, and k-mixed graphs, where a k-(stack, queue, mixed) graph is defined as a graph admitting a k-(stack, queue, mixed) layout. For example, in each case we have sparse graphs with only 𝒪(kn) edges for n vertices [6, 18, 25]. Moreover, stack, queue, and mixed numbers are all bounded for planar graphs [8, 14, 5, 30] and for bounded treewidth graphs [1, 28, 9, 15]. On the other hand, neither stack nor queue number is bounded for 3-regular graphs [29, 3]. Already in 1992, Heath, Leighton, and Rosenberg [17] investigated the relationship between stack and queue layouts; in particular whether stack layouts and queue layouts can be transformed into each other. They introduced the following fundamental question, which remains unanswered despite a wealth of studies on linear graph layouts.

Open Problem 1 (Heath, Leighton, and Rosenberg [17], see also [11, 7, 13]).

Do graphs with bounded stack number have bounded queue number?

We emphasize that a companion question (“do graphs with bounded queue number have bounded stack number?”) has been recently resolved in the negative by Dujmović et al. [7]. One attempt to resolve Open Problem 1 was made by Dujmović and Wood [11] who showed that the problem is equivalent to the question of whether bipartite 3-stack graphs have bounded queue number. Note that 1-stack graphs and 2-stack graphs are planar, and hence, they have a bounded queue number [8], but the question remains open for 3-stack graphs.

Figure 1: Linear layouts of K6 verifying that sn(K6)3 due to a 3-twist (left), qn(K6)3 due to a 3-rainbow (middle), and mn(K6)2 due to a 1-stack 1-queue layout (right).

Turning to mixed layouts, it follows from the definition of the mixed number that for every graph G we have mn(G)sn(G) and mn(G)qn(G). However for some graphs G, their mixed number mn(G) is strictly less than sn(G) and qn(G); for example, for the complete graph K6 it holds that sn(K6)=qn(K6)=3 but mn(K6)=2, as illustrated in Figure 1. In particular, graphs with bounded mixed number potentially form a strictly larger class than those of bounded stack number. Thus, the following problem of Alam et al. [22] asks for something (potentially) stronger than Open Problem 1.

Open Problem 2 (Alam et al. [22]).

Do graphs with bounded mixed number have bounded queue number?

As one of our results (cf. Theorem 4), we shall show that Open Problems 1 and 2 are in fact equivalent. That is, either both questions have a Yes-answer or both have a No-answer. In that sense, it is easier to prove a No-answer by finding graphs of unbounded queue number but bounded mixed number (instead of bounded stack number). As a second result, also in Theorem 4, we shall prove that it indeed suffices to look for graphs of mixed number 2; specifically, graphs that admit 1-stack 1-queue layouts. That is, Open Problems 1 and 2 have a Yes-answer if and only if all 1-stack 1-queue graphs have bounded queue number.

Separated Linear Layouts.

Since Open Problems 1 and 2 are likely very challenging in their full generality, we investigate a special case for separated mixed layouts of bipartite graphs. A vertex order σ of a bipartite graph G with bipartition333(A,B) is a bipartition if AB=, AB=V, and both induced subgraph G[A],G[B] are edgeless. (A,B) is separated if all vertices in A precede all vertices in B (or vice versa). This naturally gives rise to separated k-stack, separated k-queue, and separated s-stack q-queue layouts of bipartite graphs G, as well as the corresponding separated stack number sn¯(G), separated queue number qn¯(G), and separated mixed number mn¯(G).

Observe that a separated s-stack q-queue layout can be transformed into a separated q-stack s-queue layout by reversing the vertex order of one of the parts. It follows that sn¯(G)=qn¯(G) for every bipartite graph G. Furthermore, every separated vertex order σ of G=(V,E) with bipartition (A,B) induces an injective mapping of the edges of G to points of the |A|×|B| integer grid; see Figure 2. This grid is sometimes referred to as a reduced adjacency matrix of G. One can easily verify that a subset SE of edges forms a queue (resp. a stack) if and only if the corresponding points form a monotonically increasing (resp. decreasing) subset in the |A|×|B| grid. The stack-queue transformation mentioned above then corresponds to mirroring the grid along the x-axis or along the y-axis.

(a) Separated layout.
(b) 2-layer drawing.
(c) Grid representation.
Figure 2: Various representations of a separated 1-stack 1-queue bipartite graph.

This separated setting has been widely studied (sometimes, implicitly) under different names, such as 2-track layouts [10, 27] or 2-layer drawings [23, 2, 12]. For the present paper, let us introduce the following special variant of Open Problem 2.

Open Problem 3.

Do bipartite graphs with bounded separated mixed number have bounded queue number?

Our Contributions.

We make progress towards the resolution of Open Problems 1 and 2, as well as our new Open Problem 3. Each of these problems asks whether graphs with low stack number (Open Problem 1), low mixed number (Open Problem 2), or low separated mixed number (Open Problem 3) have also low queue number. Formally, we say that the queue number is bounded by stack number (similarly, bounded by mixed number, and bounded by separated mixed number) if for every graph G with stack number sn(G) and queue number qn(G), it holds that qn(G)f(sn(G)) for some function f (independent of G). The question of whether such functions, f, exist are Open Problems 1, 2, and 3.

Clearly, a function f that bounds the queue number in terms of the stack number exists if and only if for all k there is a constant C=Ck such that every k-stack graph has queue number at most C. Surprisingly, it is enough to consider just one particular value for k. In fact, Dujmović and Wood [11] show that Open Problem 1 is equivalent to the existence of a constant C such that every 3-stack graph has queue number at most C. (It is known that 1-stack and 2-stack graphs have queue number at most 2 [17] and at most 42 [4], respectively.)

Here, we extend the list to four equivalent statements, showing in particular that Open Problems 1 and 2 are equivalent, and that it is enough to consider 1-stack 1-queue graphs.

Theorem 4.

The following are equivalent:

  1. (1)

    every s-stack graph has queue number at most f(s) for some function f
    (“queue number is bounded by stack number”);

  2. (2)

    every 3-stack graph has queue number at most C for some constant C;

  3. (3)

    every 1-stack 1-queue graph has queue number at most C for some constant C;

  4. (4)

    every s-stack q-queue graph has queue number at most f(s,q) for some function f
    (“queue number is bounded by mixed number”).

Turning to separated layouts of (necessarily bipartite) graphs, our main contribution is also a list of four equivalent statements, one of which, namely (1), is Open Problem 3. Statements (3) and (4) show that it is enough to consider 1-stack q-queue graphs, respectively even only 1-stack 6-queue graphs, for solving Open Problem 3. Additionally, we discuss a natural approach for Open Problem 3 where we start with the grid representation of a separated s-stack q-queue layout, and then permute the rows and columns so as to obtain a separated f(s,q)-queue layout. Another surprising contribution is that it is always enough to apply the same permutation to the rows and the columns, which is statement (2).

Theorem 5.

The following are equivalent:

  1. (1)

    every separated s-stack q-queue graph G has queue number at most f(s,q) for some function f   (“queue number is bounded by mixed number”);

  2. (2)

    every separated s-stack q-queue layout of a graph G=(AB,E) with |A|=|B| can be transformed into a separated f(s,q)-queue layout for some function f by applying the same permutation to A and B;

  3. (3)

    every separated 1-stack q-queue graph has queue number at most f(q) for some function f;

  4. (4)

    every separated 1-stack 6-queue graph has queue number at most C for some constant C.

Finally, let us discuss the connections between non-separated and separated layouts. Standard techniques for queue layouts (which we present in Section 2) easily give that Open Problem 2 implies Open Problem 3. In fact, Corollary 7 states that for every bipartite graph G we have qn¯(G)2qn(G). However, it remains open whether Open Problem 3 implies Open Problem 2 (or equivalently Open Problem 1). The situation is summarized in Figure 3.

Figure 3: An overview of the new and known relationships between different linear layouts.

2 Preliminaries

In this section we collect several facts about manipulating vertex orders in linear layouts, which keep the stack and/or queue numbers within a constant factor from each other.

Lemma 6 (Riffle-Lemma).

Let G=(V,E) be a graph with a given q-queue layout using σ as the vertex order and V1,,Vk be a partition of V. Then, for any vertex order σ where for vertices u,vVi it holds that u<σv whenever u<σv:

  1. (1)

    G admits a k2q-queue layout.

  2. (2)

    G admits a 2(k)q-queue layout if G is bipartite, i=1Vi=A and j=+1kVj=B.

Proof.

We show that every queue QE for σ can be split into k2 queues for σ; see Figure 4(a). Overall, this results in the desired k2q-queue layout. For i,j[k] let Ei,jQ contain all edges (u,v)Q such that u<σv and uVi and vVj. This partitions Q into k2 many edge sets Ei,j, and we claim that each Ei,j is a queue for σ. For i=j, the relative order of any u,vVi is unchanged in σ, and hence Ei,i is a queue for σ. For ij, let e1=(u1,v1) and e2=(u2,v2) be two edges in Ei,j with u1,u2Vi and v1,v2Vj. Without loss of generality assume that u1<σu2 (hence u1<σu2) and assume for a contradiction that e1 nests e2 in σ, that is, u1<σu2<σv2<σv1 or v2<σv1<σu1<σu2. In either case, it follows that v2<σv1 and hence v2<σv1. Together with u2<σv2 (as (u2,v2)Ei,j) this yields u1<σu2<σv2<σv1 and e1 nests e2 in σ – a contradiction to Q being a queue. It follows that each Ei,j requires at most one queue in the layout with vertex order σ, which concludes the first case of the proof.

In the bipartite case, for each queue Q in the original layout, let e=(u,v) be an edge in Q with uVi with i and vVj with <jk. As there are (k) combinations of i and j, and we require two queues, namely Ei,j and Ej,i, for each combination, the resulting layout with vertex order σ requires 2(k)q-queues in total.

Applying the lemma to bipartite graphs with =1 and k=2 such that V1=A and V2=B yields the following (well-known) fact; see [25] for an alternative proof.

Corollary 7.

Every q-queue graph with bipartition (A,B) has a separated 2q-queue layout.

(a)
(b)
Figure 4: (a) Illustrating Lemma 6 (1) and its tightness for k=2 (b). Edge colors illustrate the partition of the edges with respect to V1 (black) and V2 (white). The black lines signify the orders within V1 (dotted) and V2 (dashed).

The next two results concern graph subdivisions. A subdivision of a graph G is a graph obtained from G by replacing each edge (u,v) in G by a path with one or more edges. Internal vertices on such a path are called division vertices.

Lemma 8 (Lemma 2 in [11]).

Let G=(V,E) be a graph and G=(V,E) be a subdivision of G with at most one division vertex per edge. If G admits a q-queue layout with vertex order σ, then G with bipartition V and VV admits a separated (q+1)-queue layout in which V is ordered as in σ.

A converse operation to a subdivision is a (path-)contraction. We use a more general transformation here. An r-shallow minor is a restricted form of a graph minor in which each (connected) subgraph that is contracted to form the minor has radius at most r, where the radius is defined as the minimum of the eccentricities of its vertices. For an s-stack q-queue graph G, we will combine the following result with finding an s-stack q-queue subdivision H where ss and qq, which has G as an r-shallow minor in order to prove equivalence statements in Theorem 4 and Theorem 5.

Lemma 9 (Lemma 12 in [19]).

For every graph G and H, where G is a r-shallow minor of H, it holds that qn(G)(2r+1)(2qn(H))2r+1.

3 Non-Separated Layouts

In this section we explore Open Problem 2. Dujmović and Wood [11] studied graph subdivisions of stack and queue layouts. They proved that every s-stack graph has

  1. (i)

    a 3-stack subdivision with 2log2s2 division vertices per edge, and

  2. (ii)

    a 1-stack 1-queue subdivision with 4log2s division vertices per edge.

Similarly, every q-queue graph has

  1. (i)

    a 3-stack subdivision with 2log2q+1 division vertices per edge, and

  2. (ii)

    a 2-queue subdivision with 2log2q+1 division vertices per edge, and

  3. (iii)

    a 1-stack 1-queue subdivision with 4log2q+2 division vertices per edge.

Notice some asymmetry in the statements of the two results: It is not always possible to subdivide an s-stack graph with f(s) division vertices per edge (for an arbitrary function f) such that the result admits an 𝒪(1)-queue layout. Otherwise, such a subdivision combined with Lemma 9 would imply that every s-stack graph admits an 𝒪(1)-queue layout, contradicting the main result of Dujmović et al. [7].

The crux of the contributions of Dujmović and Wood [11] is a technical construction, which we formalize next. Let T be a rooted tree with nodes V(T) and edges E(T). Given a graph G=(V,E), a T-partition of G is a pair (T,{Tx:xV(T)}) consisting of a tree T and a partition of V into sets {Tx:xV(T)}, such that for every edge (u,v)E one of the following holds: (i) u,vTx for some xV(T), or (ii) there is an edge (x,y) of T with uTx and vTy. The sets Tx,xV(T) are called the bags of the T-partition. A T-layout of a graph G is a T-partition of G in which the bags are ordered, that is, <x is a total order of vertices in Tx; see Figure 5(a) for an example. The vertex orders are described in terms of two functions, 𝒮:V(T)0 and 𝒬:V(T)0, defined for the nodes of T. We prescribe each bag to contain either only stacks or only queues formed by intra-bag edges. Here 𝒮(x) (respectively, 𝒬(x)) denotes the stack (queue) number of the intra-bag edges on Tx under vertex order <x such that if Tx is prescribed to contain stacks, i.e., if 𝒮(x)>0 then 𝒬(x)=0, and if Tx is a bag containing queues, then 𝒬(x)>0 and 𝒮(x)=0. Similarly, for the edges of T, 𝒦(x,y):E(T)0 is the minimum number of edge sets E1,,E𝒦(x,y) needed to partition the inter-bag edges of G between Tx and Ty such that they are pairwise non-crossing. Under the concatenation of the orders <x and <y, each Ei, 1i𝒦(x,y) will form a queue, while each Ei forms a stack when concatenating <x and >y. The leaf nodes of a tree T are denoted V~(T).

In this paper, we work with simple T-layouts, where

  • for every non-leaf node xV(T)V~(T), bag Tx forms an independent set in G, that is, 𝒮(x)=𝒬(x)=0;

  • for every leaf node xV~(T), bag Tx admits a 1-stack or a 1-queue layout under <x, that is, 𝒮(x)=1,𝒬(x)=0 or 𝒮(x)=0,𝒬(x)=1;

  • for every edge (x,y)E(T), it holds that 𝒦(x,y)=1.

In all our constructions of tree-partitions, we utilize a binary tree, that is, a rooted tree in which every node has at most two children. The following result provides a subdivision and a tree-layout for a given graph.

Lemma 10 (a special case of Lemma 21 in [11]).

Let G be a graph that admits a k-stack (respectively, k-queue) layout with vertex order σ, and T be a binary tree of height h with k or more leaves. Then G has a subdivision, D, with an even number of division vertices per edge such that D has a simple T-layout in which 𝒮(x)=1 (respectively, 𝒬(x)=1) for every leaf node xV~(T). The number of division vertices per edge is at most 2h, or exactly 2h if all the leaves of T are at depth h. Moreover, the vertices of G correspond to vertices in the root bag of T and their order in the T-layout is σ, whereas all other bags contain only division vertices.

In what follows we consider a (not necessarily proper) 2-coloring of edges of a tree using colors blue and red, i.e., we allow edges with the same color at a common endvertex. Throughout, we associate blue colors with stacks, and red colors with queues. The set of blue edges is Es(T)E(T) and the set of red edges is Eq(T)E(T).

Lemma 11 (a special case of Lemma 22 in [11]).

Let G be a graph with a T-layout for some tree T. Suppose that edges of T are 2-colored in red and blue, and its nodes, V(T), are ordered by σ such that the blue edges, Es, form a stack and the red edges, Eq, form a queue. Let

λs =maxxV(T)(𝒮(x)+(y,x)Es:y<σx𝒦(y,x)+(x,y)Es:x<σy𝒦(x,y)), and
λq =maxxV(T)(𝒬(x)+maxyV(T):yσx(y,z)Eq:xσz𝒦(y,z)).

Then G admits a mixed λs-stack λq-queue layout. Furthermore, the order of vertices in the root bag of the T-layout is preserved in the mixed layout.

Now we can state the new results of the section.

Lemma 12.

Let G be an s-stack q-queue graph. Then G has a 3-stack subdivision with at most 2log2(max(s,q))+3 division vertices per edge.

Proof.

First we show how to obtain a tree-layout for an s-stack q-queue graph G=(V,E) with the vertex order σ. Denote h=log2(max(s,q)) so that max(s,q)2h. Assume that E=S1SsQ1Qq, where Si,1is are stacks and Qi,1iq are queues.

Consider the subgraph of G induced by all stack edges, Gs=(V,S1Ss). Let Ts be a binary tree of height h+1 in which the root node has a single child, each internal non-root node has exactly two children, and all leaves are at the same depth. By Lemma 10, there exists a subdivision of Gs, denoted Ds, with exactly 2(h+1) division vertices per edge and a simple Ts-layout of Ds. It holds that 𝒮(x)=1,𝒬(x)=0 for xV~(Ts), 𝒮(x)=𝒬(x)=0 for xV(Ts)V~(Ts), and 𝒦(x,y)=1 for (x,y)E(Ts); see Figure 5.

(a) A tree-layout of the subdivision of a 2-stack 2-queue graph. Edge colors in the tree-layout correspond to the original queues and stacks of G shown above the root node.
(b) A tree-partition and a 1-stack layout of the corresponding binary tree, Tsq, where the blue edge color corresponds to Lemma 11.
Figure 5: An illustration for Lemma 12: Subdividing a 2-stack 2-queue graph G with at most 2log2(max(s,q))+3=5 division vertices per edge to obtain a 3-stack graph.

Next consider the subgraph of G induced by the queue edges, Gq=(V,Q1Qq). Start with a binary tree of height h+1, denoted Tq, which is a copy of Ts (that is, the root node has one child and each internal non-root node has two children). There exists a subdivision of Gq with exactly 2h+2 subdivision vertices and its simple Tq-layout by Lemma 10. We modify the subdivision and the tree-layout as follows. Consider a leaf node xV~(Tq) and let Gx be the graph induced by vertices in Tx and the corresponding intra-bag edges. Observe that 𝒬(x)=1 in the Tq-layout, and hence, qn(Gx)=1 with <x as the vertex order. Now, we apply Lemma 8 by subdividing every edge of Gx once and let Gx be the resulting graph. This results in a 2-queue layout of the subdivision Gx in which the vertices of Gx are separated from the new division vertices and are ordered as in the Tq-layout. Thus, we can build a new tree, denoted Tq, by appending a child, x, to every node xV~(Tq). This results in a (non-simple) Tq-layout for Gq, where the leaf nodes of Tq contain the division vertices in the order given by Lemma 8. Since the queue number of Gx is at most 2, the inter-bag edges between Gx and Gx can be partitioned into two sets of pairwise non-crossing edges, i.e., we have that 𝒦(x,x)=2 for all (x,x)E(Tq), where xV~(Tq); see Figure 5(a) for an illustration.

By Lemma 10, the root bags of the Ts-layout and the Tq-layout contain the same vertices, V, both ordered by σ. Thus, we can merge the two tree-layouts into a joint one, called Tsq-layout; see Figure 5(b). The corresponding subdivision of G, denoted Dsq, has stack edges subdivided 2h+2 times and queue edges subdivided 2h+3 times. To apply Lemma 11 for the Tsq-layout, we color all the edges of Tsq blue and find a 1-stack layout of the tree via a depth-first search traversal such that every node precedes its children in the order. Let us argue that the result of applying Lemma 11 is a 3-stack layout, that is, λs=3 and λq=0.

Note that 𝒬(x)=0 for all nodes of Tsq and the tree contains no red edges; thus, λq=0. For the stack number, consider four disjoint groups of nodes of Tsq:

  • for xV~(Ts), it holds that 𝒮(x)=1 and 𝒦(y,x)=1 for (y,x)Es;

  • for xV(Ts)V~(Ts) and xV(Tq)V~(Tq), it holds that 𝒮(x)=0, there exists one edge (y,x)Es with 𝒦(y,x)=1 and two edges (x,y)Es with 𝒦(x,y)=1;

  • for xV~(Tq), it holds that 𝒮(x)=0, 𝒦(y,x)=1 for a single edge (y,x)Es, and 𝒦(x,y)=2 for a single edge (x,y)Es;

  • for xV~(Tq), it holds that 𝒮(x)=0, and 𝒦(y,x)=2 for a single edge (y,x)Es.

Combining everything together, we get

λs =maxxV(Tsq)(𝒮(x)+(y,x)Es𝒦(y,x)+(x,y)Es𝒦(x,y)) 3.

Therefore, subdivision Dsq of G admits a 3-stack layout by Lemma 11.

With a similar technique we can find a 1-stack 1-queue subdivision (Lemma 13) instead of a 3-stack subdivision (Lemma 12). The proof of the next result is given in [21].

Lemma 13.

Let G be an s-stack q-queue graph. Then G has a 1-stack 1-queue subdivision with at most 4log2(max(s,q))+6 division vertices per edge.

We now prove Theorem 4, in particular that Open Problems 1 and 2 are equivalent.

See 4

Proof.

It is immediate that (4) implies (1), (2), and (3). That (1)(2) is proven by Dujmović and Wood [11].

Now we show that (2 (4). Assume that every 3-stack graph has a bounded queue number, C𝒪(1). Let G be an s-stack q-queue graph. By Lemma 12, G admits a 3-stack subdivision, D, with at most k=2log2(max(s,q))+3 division vertices per edge. By the assumption, qn(D)C. Note that G is an r-shallow minor of D for r=(k+1)/2=log2(max(s,q))+2. By Lemma 9, we get

qn(G)(2r+1)(2qn(D))2r+1=(2log2(max(s,q))+5)(2C)2log2(max(s,q))+5,

which proves that G has a bounded queue number, as long as s,q and C are constants.

Similarly we show that (3 (4). Suppose that every 1-stack 1-queue graph has queue number at most C𝒪(1). Let G be an s-stack q-queue graph. By Lemma 13, G admits a 1-stack 1-queue subdivision, D, with k=4log2(max(s,q))+6 division vertices per edge. By the assumption, qn(D)C, and G is an r-shallow minor of D for r=(k+1)/2. Again by Lemma 9, we get

qn(G)(2r+1)(2qn(D))2r+1=(4log2(max(s,q))+8)(2C)4log2(max(s,q))+8,

which shows that G has a bounded queue number, as long as s,q and C are constants.

4 Separated Layouts

In this section we investigate separated mixed layouts of bipartite graphs and Open Problem 3. Recall that a vertex order σ of a bipartite graph G=(V,E) with bipartition (A,B) is separated if all vertices of A precede all vertices of B in σ (or vice versa).

Observation 14.

Every separated s-stack q-queue layout of a bipartite graph G=(V,E) with bipartition (A,B) can be transformed to a separated q-stack s-queue layout by reversing the order of all vertices in A (or alternatively all vertices in B).

Reversing the order of some consecutive vertices (as in 14) is the simplest modification we could do to a given layout. It turns out that this is already enough to show that graphs with separated 1-stack 1-queue layouts have a constant queue number.

Theorem 15.

Every separated 1-stack 1-queue graph admits a separated 4-queue layout.

Proof.

Let G=(V,E) be a bipartite graph with bipartition (A,B) admitting a separated 1-stack 1-queue layout with vertex order σ. Consider the reduced adjacency matrix M with columns A=(a1,,am) and rows B=(b1,,bn) ordered according to σ. The edges SE in the stack form a monotonically weakly decreasing subset of |A|×|B|. The edges QE in the queue form a monotonically weakly increasing subset of |A|×|B|. Without loss of generality we can assume (by adding edges to the graph) that S and Q correspond to inclusion-maximal such subsets; see Figure 6.

Figure 6: Obtaining a separated 4-queue layout from a separated 1-stack 1-queue layout by reversing column and row orders. The blue edge color of the transformed stack edges is preserved for clarity.

Let (ai,bj)A×B be a point/edge that is contained in both, S and Q. Now consider the vertex order ai,,a1,ai+1,,am of the columns obtained by reversing the order of a1,,ai. Similarly, consider the vertex order bj,,b1,bj+1,,bn of the rows obtained by reversing the order of b1,,bj. Let σ denote the resulting separated vertex order of G. Now the edges in Q incident to a1,,ai form a queue Q1 in σ. Also the remaining edges in Q, incident to ai+1,,am form a queue Q2 in σ. Similarly, the edges in S incident to b1,,bj form a queue Q3 in σ. Also the remaining edges in S, incident to bj+1,,bm form a queue Q4 in σ; see again Figure 6. This is a separated 4-queue layout of G.

Note that by applying 14, separated 1-stack 1-queue graphs also admit a separated 4-stack layout. However, we do not know whether the bound of 4 in Theorem 15 is best-possible and remark that K3,3 admits a separated 1-stack 1-queue layout but its separated stack/queue number is 3.

The simple operation of reversing the order of some consecutive vertices can be employed in a “checkerboard” fashion. Consider a given separated mixed layout (e.g., with s stacks and q queues). Assume we have partitioned the reduced adjacency matrix by means of a superimposed grid with a checkerboard odd-even pattern, in such a way that odd grid cells contain no stack edges and even grid cells contain no queue edges. Then, the vertex order of every second row and column can be reversed to derive a separated pure queue layout. Finding such a grid refinement is always possible, that is, down to individual rows and columns, however the derived sn¯ and qn¯ are dependent on the grid granularity and thus may not be bounded by mn¯. An example for specific separated s-stack q-queue layouts with bounded qn¯ number are grids where each cell contains either an increasing or decreasing diagonal. In this case, grid columns and rows can be halved in order to apply the checkerboard approach; see Figure 7.

(a)
(b)
(c)
(d)
Figure 7: Transforming a separated mixed layout of a grid with diagonals (a) into a separated pure layout (d) by halving columns and rows (b) and reversing every second row and column (c). The blue edge color of the transformed stack edges is preserved for clarity.

However there exist graphs, where such operations do not suffice and more involved row and column permutations are necessary. In [21] we provide as a challenging example a subcubic bipartite graph that admits a separated 1-stack 2-queue layout and a fairly simple 4-queue pure layout. However, the grid granularity has to be super-constant in order to transform the mixed into the pure layout. We conclude that even for low-degree graphs with mn¯(G)=3, it is not obvious how to transform a separated mixed layout into a separated pure layout, say with few queues.

While we do not know how to generalize Theorem 15 even just to separated 1-stack 2-queue layouts, we can narrow down the difficult case of Open Problem 3. If Open Problem 3 is answered positively, we can find an f(s,q)-queue layout for any bipartite graph admitting a separated s-stack q-queue layout. In Theorem 5 we show three equivalent formulations of this problem. In the challenging example presented in our preprint [21], the transformation from the separated mixed to the separated pure layout applies the same column and row permutation. Now, Theorem 5 states that we may always assume that rows and columns are identically permuted when transforming a separated mixed layout into a separated pure layout.

Further, we show in Lemma 17 that every separated s-stack q-queue layout can be transformed into a separated 1-stack f(s,q)-queue layout, while this transformation does not change the separated queue number by too much. This implies that one can restrict the attention to separated 1-stack q-queue layouts, for solving Open Problem 3.

See 5

Proof.

Observe that (1) immediately implies (3), which implies (4). That (2) implies (1) is also immediate, when adding isolated vertices to guarantee |A|=|B|. The proofs of the other directions are deferred, in particular see Lemma 16 for (1 (2) and Lemma 17 for (3 (1). For (4), we show equivalence by proving that (4) implies (3) in Lemma 18.

Lemma 16.

If there is a function f such that every separated s-stack q-queue graph admits a separated f(s,q)-queue layout, then every separated s-stack q-queue layout of a bipartite graph G=(AB,E) with |A|=|B| can be transformed into a separated 2f(s,q+1)2-queue layout by applying the same permutation to A and B.

In other words, Lemma 16 proves that (1) implies (2) in Theorem 5.

Proof.

Let u1,,un and v1,,vn be the order of A and B in the given separated s-stack q-queue layout of G. We add the “identity” queue Q, where for each i, 1in, there is the edge (ui,vi) (if not already present in G). Let G=(AB,EQ) be the resulting bipartite graph. By assumption, there exists a separated f(s,q+1)-queue layout of G with vertex order σ0. We are looking for another vertex order σ such that, compared to the initial order, A and B are permuted the same, that is, the columns and rows in the reduced adjacency matrix are identically permuted. Since we added the identity queue Q to obtain G in the beginning, this is equivalent to restoring Q to the diagonal in the matrix; see Figure 8.

(a)
(b)
(c)
Figure 8: Illustration of the proof of Lemma 16: Adding the identity queue (a), obtaining a separated queue layout (b), and restoring the identity queue (c).

To that end, we shall apply Lemma 6 to change only the order of vertices in A, which corresponds to permuting the columns in the matrix. Let k=f(s,q+1) and E1,,Ek be the queues in the f(s,q+1)-queue layout of G and Ai={uA(u,v)QEi}, 1ik. We want to apply the Riffle-Lemma (Lemma 6-(2)) with the partition of V into A1,,Ak and B. To this end, we keep the order of B (the rows), and restore Q as a diagonal by simply sorting the columns according to their row in Q. Since each Ei is a queue, the relative order within each Ai is kept intact, as required by Lemma 6. Hence, by Lemma 6-(2), the resulting layout has at most 2f(s,q+1)f(s,q+1) queues in total. 

Lemma 17.

Let G be a bipartite graph with a separated s-stack q-queue layout. Then there exists another bipartite graph H admitting a separated 1-stack (s+q1)-queue layout, where G is a 1-shallow minor of H, such that qn(G)𝒪(qn(H)3).

If (3) of Theorem 5 holds, then the separated 1-stack (s+q1)-queue layout of H has bounded queue number, i.e, qn(G)𝒪(qn(H)3)f(s+q1) for some function f. Hence qn(G)f(s,q)=f(s+q1), implying (1) of Theorem 5.

Proof.

Assume we have a bipartite graph G, that admits a separated s-stack q-queue layout. We will build a new bipartite graph H, such that H has a separated 1-stack (s+q1)-queue layout. We will then show that for the separated queue numbers of G and H, it holds that qn(G)𝒪(qn(H)3). That is, a small queue number of H implies a small queue number of G. Next we make the argument formal.

Let G=(AB,E),|A|=n,|B|=m, S1,,Ss be the stacks and Q1,,Qq be the queues in the separated s-stack q-queue layout. We build H as follows. The vertices of H are A(kUk)B(kVk), where A={a1,,an} and B={b1,,bm} are copied from G, while Uk{u1k,,unk} and Vk{v1k,,vmk} for any 1ks1 are new. Uk contains a vertex uik for each vertex ai incident to an edge (ai,bj)Sk. Likewise, Vk contains a vertex vjk for each such bj. Vertices in A and B that are not incident to an edge in Sk are omitted in Uk and Vk. (Note that for each stack Sk, the new vertices in Uk and Vk are added to construct parts of the graph H starting from G, while the last stack Ss is left as is.) In the reduced adjacency matrix of H, the new vertices are represented by additional blocks of nk consecutive rows for each Uk and mk consecutive columns for each Vk, where nk (mk) is the number of vertices of A (B) having an edge in Sk. Row blocks of Uk and column blocks of Vk are subsequent for k=1,,s1. Intuitively, we move the stack Sk from A×B to Uk×Vk, k=1,,s1. We leave the last stack Ss with all q initial queues in A×B. Finally, we put one new queue each in A×Uk and Vk×B, k=1,,s1. Figure 10 shows the construction and in particular the order of the rows U1,,Us1 and columns V1,,Vs1.

(a)
(b)
(c)
Figure 10: Transforming a separated 3-stack 2-queue layout into a separated 1-stack 4-queue layout: The initial graph G (a), modifying a stack edge (ai,bj) (b), the constructed graph H (c).

More formally, for every edge (ai,bj)Q1Qq, there is an edge (ai,bj) in H. For every stack edge, (ai,bj) of stack Sk,1ks1, there are three edges (ai,uik),(uik,vjk),(vjk,bj) in H. (In case of multiple edges between a pair of vertices, we keep only one instance.) It is easy to verify that H admits a separated 1-stack (s+q1)-queue layout, as for every original stack Sk, 1ks1 the edges (ai,uik) and (vjk,bj) for every (ai,bj)Sk form a queue respectively, due to the increasing column and row indices of each block Uk and VK starting from the bottom left of the matrix. In fact, edges between vertices in A and Uk and edges between vertices in B and Vk fit in a single queue, since the former lie below and to the left of the latter in the matrix. The original queues remain, yielding q+s1 queues in total. For a stack Sk, the edges (ai,bj)Sk are a decreasing subset in A×B and due to the increasing ordering of indices in every column and row block of the matrix, the edges (uik,vjk) in Uk×Vk have the same property. The ordering of the row blocks Uk and column blocks Vk, where A×B and Uk×Vk, 1ks1 are positioned diagonally from the top left to the bottom right of the matrix, then allows to combine the s stacks of G into one single stack in H.

Finally, we show that qn(G)𝒪(qn(H)3). To this end, consider a qn(H)-queue layout of H. Now, contract for each i=1,,n the vertex ai with its neighbors of the form uik, 1ks1. Similarly, contract for each j=1,,m the vertex bj with its neighbors of the form vjk, 1ks1. The result is a 1-shallow minor of H, and most crucially, the result is exactly the initial graph G. Hence, Lemma 9 with radius r=1 gives that qn(G)(2r+1)(2qn(H))2r+1=24qn(H)3.

Using the techniques from Section 3, we can provide the final missing piece of Theorem 5.

Lemma 18.

Let G be a bipartite graph with a separated 1-stack q-queue layout. Then G has a subdivision D with at most 2log2q division vertices per edge that admits a separated 1-stack 6-queue layout.

In other words, Lemma 18 proves that (4) implies (3) in Theorem 5, as applying Lemma 9 for the r-shallow minor G of D with k=2log2q and r=(k+1)/2 implies bounded queue number of G for a function f(q).

qn(G)(2r+1)(2qn(D))2r+1=(2log2q+2)(12)2log2q+2

Proof.

Let G=(V,EsE1Eq) be a bipartite graph that admits a separated 1-stack q-queue layout such that Es is a stack and Ei,1iq are queues. Denote h=log2q so that q2h. We consider the subgraph of G induced by the queue edges, Gq=(V,E1Eq). Let T be a complete binary tree of height h. By Lemma 10, there exists a subdivision of Gq, denoted Dq, and a simple T-layout of Dq in which 𝒮(x)=0,𝒬(x)=1 for all xV~(T), 𝒮(x)=𝒬(x)=0 for all non-leaf nodes xV(T)V~(T), and 𝒦(x,y)=1 for all (x,y)E(T). Note that Dq contains exactly 2h division vertices per edge and it is bipartite; see Figure 11.

(a) A tree-layout of the subdivision of a separated 1-stack 8-queue graph G. Colors of edges and division vertices in the tree-layout correspond to the original queues and stack of G shown above the root node, while vertex outline colors in non-root nodes correspond to the vertex partitions in G.
(b) A tree-partition and a layout of the corresponding binary tree T, where the red edge color corresponds to Lemma 11.

Figure 11: An illustration for Lemma 18: Subdividing a separated 1-stack 8-queue graph G with at most 2log2q=6 division vertices per edge to obtain a mixed 1-stack 6-queue graph.

Now, color all edges of T red and find a 1-queue layout of T via a breadth-first search traversal such that every node precedes its children in the order. By Lemma 11 applied to graph Gq and its simple T-layout, we obtain a linear layout of Dq. Let us argue that this result is in fact a 3-queue layout of Dq, i.e., that λs=0 and λq3 as defined in Lemma 11. On the one hand, 𝒮(x)=0 for all the nodes of T and there are no blue edges in T. Thus, we have λs=0. On the other hand, every node xV(T) has at most two outgoing edges in the layout of T, i.e., the set {(y,z)Eqyσxσz} contains at most two edges. Hence,

λq =maxxV(T)(𝒬(x)+maxyV(T):yσx(y,z)Eq:xσz𝒦(y,z))
maxxV(T)(1+maxyV(T):yσx2)3.

The final step is to convert the 3-queue layout of Dq into a separated layout. This is accomplished by Corollary 7, which in worst case doubles the number of queues. The transformations of Lemma 11 and Corollary 7 keep the relative order of the original vertices V unchanged. Thus, the resulting layout of Dq can be joined with the stack edges Es to finally yield a subdivision D of G (in which the stack edges are not subdivided) with a separated 1-stack 6-queue layout.

5 Conclusions and Open Questions

We have explored the relation between mixed and pure stack or queue layouts, in the separated as well as in the non-separated setting. An interesting (and somewhat surprising) result is the equivalence of Open Problems 1 and 2, which we believe sheds some light on the famous open problem, whether bounded stack number always implies bounded queue number. Let us highlight a few intriguing questions and possible directions in the area.

  1. 1.

    Do graphs with (non-separated) 1-stack 1-queue layouts have a constant queue number? This might be hard in general, but one could for example start with subcubic graphs.

  2. 2.

    Do graphs with separated 1-stack 2-queue layouts have a constant queue number? Lemmas 16 and 18 combined show that separated 1-stack 6-queue graphs are as hard as the general case, and we feel that the same holds for separated 1-stack 2-queue graphs. On the other hand, Theorem 15 solves the separated 1-stack 1-queue case.

  3. 3.

    Is there a constant C such that every bipartite 1-stack 1-queue graph admits a separated C-stack C-queue layout? A positive answer would imply that Open Problems 3, 1, and 2 are all equivalent.

References

  • [1] Jawaherul Md Alam, Michael A Bekos, Martin Gronemann, Michael Kaufmann, and Sergey Pupyrev. Queue layouts of planar 3-trees. Algorithmica, pages 1–22, 2020. doi:10.1007/s00453-020-00697-4.
  • [2] Patrizio Angelini, Giordano Da Lozzo, Henry Förster, and Thomas Schneck. 2-layer k-planar graphs density, crossing lemma, relationships and pathwidth. The Computer Journal, 67(3):1005–1016, April 2023. doi:10.1093/comjnl/bxad038.
  • [3] János Barát, Jirí Matousek, and David R. Wood. Bounded-degree graphs have arbitrarily large geometric thickness. The Electronic Journal of Combinatoric, 13(1), 2006. doi:10.37236/1029.
  • [4] Michael A. Bekos, Martin Gronemann, and Chrysanthi N. Raftopoulou. On the queue number of planar graphs. In International Symposium on Graph Drawing and Network Visualization, pages 271–284, Berlin, Heidelberg, 2021. Springer-Verlag. doi:10.1007/978-3-030-92931-2_20.
  • [5] Michael A. Bekos, Michael Kaufmann, Fabian Klute, Sergey Pupyrev, Chrysanthi N. Raftopoulou, and Torsten Ueckerdt. Four pages are indeed necessary for planar graphs. Journal of Computational Geometry, 11(1):332–353, 2020. doi:10.20382/jocg.v11i1a12.
  • [6] Frank Bernhart and Paul C. Kainen. The book thickness of a graph. Journal of Combinatorial Theory, Series B, 27(3):320–331, 1979. doi:10.1016/0095-8956(79)90021-2.
  • [7] Vida Dujmović, David Eppstein, Robert Hickingbotham, Pat Morin, and David R Wood. Stack-number is not bounded by queue-number. Combinatorica, pages 1–14, 2021. doi:10.1007/s00493-021-4585-7.
  • [8] Vida Dujmović, Gwenaël Joret, Piotr Micek, Pat Morin, Torsten Ueckerdt, and David R Wood. Planar graphs have bounded queue-number. Journal of the ACM, 67(4):1–38, 2020. doi:10.1145/3385731.
  • [9] Vida Dujmović, Pat Morin, and David R Wood. Layout of graphs with bounded tree-width. SIAM Journal on Computing, 34(3):553–579, 2005. doi:10.1137/S0097539702416141.
  • [10] Vida Dujmović, Attila Pór, and David R Wood. Track layouts of graphs. Discrete Mathematics & Theoretical Computer Science, 6(2):497–522, 2004. doi:10.46298/DMTCS.315.
  • [11] Vida Dujmović and David R Wood. Stacks, queues and tracks: Layouts of graph subdivisions. Discrete Mathematics and Theoretical Computer Science, 7:155–202, 2005. doi:10.46298/dmtcs.346.
  • [12] Peter Eades and Nicholas C Wormald. Edge crossings in drawings of bipartite graphs. Algorithmica, 11(4):379–403, 1994. doi:10.1007/BF01187020.
  • [13] David Eppstein, Robert Hickingbotham, Laura Merker, Sergey Norin, Michał T Seweryn, and David R Wood. Three-dimensional graph products with unbounded stack-number. Discrete & Computational Geometry, pages 1–28, 2023. doi:10.1007/s00454-022-00478-6.
  • [14] Henry Förster, Michael Kaufmann, Laura Merker, Sergey Pupyrev, and Chrysanthi N. Raftopoulou. Linear layouts of bipartite planar graphs. In Pat Morin and Subhash Suri, editors, Algorithms and Data Structures - 18th International Symposium, WADS 2023, Montreal, QC, Canada, July 31 - August 2, 2023, Proceedings, volume 14079 of Lecture Notes in Computer Science, pages 444–459. Springer, 2023. doi:10.1007/978-3-031-38906-1_29.
  • [15] Joseph L. Ganley and Lenwood S. Heath. The pagenumber of k-trees is O(k). Discrete Applied Mathematics, 109(3):215–221, 2001. doi:10.1016/S0166-218X(00)00178-5.
  • [16] Deborah Haun, Laura Merker, and Sergey Pupyrev. Forbidden patterns in mixed linear layouts. In 42nd International Symposium on Theoretical Aspects of Computer Science (STACS 2025), 2024. doi:10.48550/arXiv.2412.12786.
  • [17] Lenwood S Heath, Frank Thomson Leighton, and Arnold L Rosenberg. Comparing queues and stacks as machines for laying out graphs. SIAM Journal on Discrete Mathematics, 5(3):398–412, 1992. doi:10.1137/0405031.
  • [18] Lenwood S Heath and Arnold L Rosenberg. Laying out graphs using queues. SIAM Journal on Computing, 21(5):927–958, 1992. doi:10.1137/0221055.
  • [19] Robert Hickingbotham and David R. Wood. Shallow minors, graph products, and beyond-planar graphs. SIAM Journal on Discrete Mathematics, 38(1):1057–1089, 2024. doi:10.1137/22M1540296.
  • [20] Paul C. Kainen. Some recent results in topological graph theory. In Ruth A. Bari and Frank Harary, editors, Graphs and Combinatorics, pages 76–108, Berlin, Heidelberg, 1974. Springer Berlin Heidelberg. doi:10.1007/BFb0066436.
  • [21] Julia Katheder, Michael Kaufmann, Sergey Pupyrev, and Torsten Ueckerdt. Transforming stacks into queues: Mixed and separated layouts of graphs. CoRR, abs/2409.17776, 2024. doi:10.48550/arXiv.2409.17776.
  • [22] Jawaherul Md. Alam, Michael A. Bekos, Martin Gronemann, Michael Kaufmann, and Sergey Pupyrev. The mixed page number of graphs. Theoretical Computer Science, 931:131–141, 2022. doi:10.1016/j.tcs.2022.07.036.
  • [23] Hiroshi Nagamochi. An improved bound on the one-sided minimum crossing number in two-layered drawings. Discrete & Computational Geometry, 33(4):569–591, 2005. doi:10.1007/S00454-005-1168-0.
  • [24] L Taylor Ollmann. On the book thicknesses of various graphs. In Proc. 4th Southeastern Conference on Combinatorics, Graph Theory and Computing, volume 8, page 459. Utilitas Math., 1973.
  • [25] Sriram Venkata Pemmaraju. Exploring the powers of stacks and queues via graph layouts. PhD thesis, Virginia Polytechnic Institute and State University, 1992.
  • [26] Sergey Pupyrev. Mixed linear layouts of planar graphs. In International Symposium on Graph Drawing and Network Visualization, pages 197–209. Springer, 2017. doi:10.1007/978-3-319-73915-1_17.
  • [27] Sergey Pupyrev. Improved bounds for track numbers of planar graphs. Journal of Graph Algorithms and Applications, 24(3):323–341, 2020. doi:10.7155/JGAA.00536.
  • [28] Veit Wiechert. On the queue-number of graphs with bounded tree-width. The Electronic Journal of Combinatorics, 24(1):P1.65, 2017. doi:10.37236/6429.
  • [29] David R. Wood. Bounded-degree graphs have arbitrarily large queue-number. Discrete Mathematics and Theoretical Computer Science, 10(1), 2008. doi:10.46298/DMTCS.434.
  • [30] Mihalis Yannakakis. Embedding planar graphs in four pages. Journal of Computer and System Sciences, 38(1):36–67, 1989. doi:10.1016/0022-0000(89)90032-9.