Papers
Topics
Authors
Recent
Search
2000 character limit reached

Ordered Level Planarity

Updated 5 July 2026
  • Ordered Level Planarity is a graph drawing model where vertices are assigned fixed levels and prescribed left-to-right positions, enforcing strict planar y-monotone curves.
  • The problem is NP-complete even with maximum degree 2 and level-width 2, while specific cases such as single-vertex levels or proper instances are solvable in linear time.
  • The rigid ordering not only complicates the drawing process but also underpins the computational hardness of related problems like Geodesic, Manhattan, and Bi-Monotonicity planarity.

Searching arXiv for the target paper and closely related graph-drawing context. {} Ordered Level Planarity is the fully position-constrained analogue of Level Planarity: vertices are assigned both levels and prescribed left-to-right positions, and every edge must be drawn as a planar yy-monotone curve. In this formulation, the ordered constraint is not a cosmetic refinement of ordinary level drawing; it changes the complexity landscape decisively. The problem is NP\mathcal{NP}-complete even for instances with maximum degree Δ=2\Delta=2 and level-width λ=2\lambda=2, while several sharply delimited subclasses remain linear-time solvable. The same ordered rigidity also serves as a hardness source for Geodesic Planarity, Manhattan Geodesic Planarity, Bi-Monotonicity, T-Level Planarity, Clustered Level Planarity, and Constrained Level Planarity (Klemz et al., 2017).

1. Formal model and the ordered constraint

A level graph is a directed graph

G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),

with a surjective level assignment

γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},

such that

γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.

The ii-th level is

Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},

its width is

λi=∣Vi∣,\lambda_i=|V_i|,

and the level-width is

NP\mathcal{NP}0

A level planar drawing places each vertex NP\mathcal{NP}1 on the horizontal line

NP\mathcal{NP}2

with NP\mathcal{NP}3, and draws each edge NP\mathcal{NP}4 as a NP\mathcal{NP}5-monotone curve from NP\mathcal{NP}6 to NP\mathcal{NP}7 without crossings (Klemz et al., 2017).

Ordered Level Planarity adds a prescribed left-to-right position on each level. An ordered level graph is

NP\mathcal{NP}8

where NP\mathcal{NP}9 is a level graph and

Δ=2\Delta=20

is a level ordering such that, for each level Δ=2\Delta=21, the restriction of Δ=2\Delta=22 to Δ=2\Delta=23 is a bijection onto

Δ=2\Delta=24

An ordered level planar drawing is then a level planar drawing in which every vertex Δ=2\Delta=25 is placed at the prescribed coordinates

Δ=2\Delta=26

This is the essential distinction from standard Level Planarity. Ordinary Level Planarity fixes only the Δ=2\Delta=27-coordinates via Δ=2\Delta=28; Ordered Level Planarity fixes both the Δ=2\Delta=29-coordinate through λ=2\lambda=20 and the left-to-right order, equivalently the λ=2\lambda=21-coordinate, through λ=2\lambda=22. The paper stresses that λ=2\lambda=23 and λ=2\lambda=24 are merely encodings of total and partial orders: the problem is unchanged if one lets them map to arbitrary reals, or if one requires only that vertices on each level appear in the prescribed total order rather than at exact integer coordinates. A level graph is called proper if

λ=2\lambda=25

2. Complexity dichotomy

The central theorem is a sharp dichotomy in terms of maximum degree and level-width. Ordered Level Planarity is λ=2\lambda=26-complete even for maximum degree

λ=2\lambda=27

and level-width

λ=2\lambda=28

By contrast, three regimes are linear-time solvable: the case λ=2\lambda=29, the case

G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),0

and proper instances (Klemz et al., 2017).

The hard side is unusually strong. The first reduction yields instances of degree at most G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),1, and a separate width-reduction lemma converts them to width G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),2. The construction also has a more refined property: all vertices on levels of width at least G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),3 can be arranged to have out-degree at most G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),4 and in-degree at most G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),5. Thus hardness does not arise from high local branching or from wide levels alone; it survives after both parameters are tightly constrained.

The easy side isolates exactly those situations where the prescribed order does not create enough combinatorial rigidity to encode crossings or choices. If G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),6, each level contains only one vertex, so Ordered Level Planarity collapses to Level Planarity on a graph with one vertex per level. If

G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),7

the graph is a disjoint union of G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),8-monotone directed paths, and the remaining problem is only to decide a consistent global left-to-right ordering of those paths. If the instance is proper, all interactions are local between consecutive levels, and a sweep through the levels suffices.

These results identify the negative corner of the landscape precisely: prescribing a total order on each level is algorithmically harmless only under strong structural restrictions, while width G=(G,γ),G=(V,E),\mathcal G=(G,\gamma), \qquad G=(V,E),9 and degree γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},0 already suffice for γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},1-completeness.

3. NP-completeness proof architecture

The hardness reduction is from Planar Monotone 3-Satisfiability. The source instance is given by a monotone 3SAT formula together with a monotone rectilinear representation γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},2 of the variable-clause graph: variables are horizontal segments on a line γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},3, positive clauses lie above γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},4, negative clauses lie below γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},5, and clauses are represented by rotated E-shapes. From such an instance γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},6, the construction builds an ordered level graph

γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},7

with four tiers of levels,

γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},8

Each clause γ:V→{0,…,h},\gamma:V\rightarrow \{0,\dots,h\},9 is represented by a clause edge

γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.0

from tier γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.1 to tier γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.2. The geometric idea is a rigid system of tunnels: each clause edge must pass through one tunnel corresponding to one literal of its clause, while each variable gadget blocks either the positive or the negative tunnel family for that variable (Klemz et al., 2017).

Tier γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.3 contains clause gadgets. Each gadget has γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.4 vertices and three distinguished segments, the gates

γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.5

The gadget, without its clause edge, has a unique ordered level planar drawing in the sense that on every level the left-to-right sequence of vertices and intersected edges is fixed. Because of this rigidity, the clause edge must pass through exactly one of the three gates, corresponding to one of the clause’s literals. This is the first decisive use of the ordered constraint: the prescribed order forces a unique combinatorial layout.

Tier γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.6 merges gates belonging to the same literal into literal tunnels. For variable γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.7, the paper denotes the positive and negative tunnels by

γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.8

A clause edge is drawn in such a tunnel when it lies in the region between the two paths defining that tunnel. After leaving its clause gadget, the clause edge must continue inside the chosen literal tunnel.

The variable gadgets occupy tiers γ(u)<γ(v)for every edge (u,v)∈E.\gamma(u)<\gamma(v)\quad \text{for every edge }(u,v)\in E.9 and ii0. They are nested: they start in the order

ii1

in ii2 and end in reverse order in ii3. The long edge

ii4

must be drawn either to the left or to the right of a designated vertex ii5 in ii6, and this choice propagates through the construction. In one state the gadget blocks ii7, and in the other state it blocks ii8. The blocking is enforced by edges such as

ii9

together with the fixed vertex order. The outcome is that for each variable exactly one corridor family remains usable: either positive clauses may route through Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},0, or negative clauses may route through Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},1, but not both.

Tier Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},2 is largely technical. It contains Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},3 levels, one terminal vertex Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},4 per level, with

Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},5

Because each such level contains only one vertex, arrivals there impose no further ordering constraints.

Correctness is bidirectional. From a drawing, one sets Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},6 if Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},7 is blocked and Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},8 otherwise. Every clause edge must choose one of its gates and then a corresponding literal tunnel, and that tunnel is usable only if the associated literal is true. Conversely, from a satisfying assignment, one draws the nested variable gadgets according to the truth values, leaves the appropriate tunnel family unblocked, and routes each clause edge through a gate and tunnel associated with a true literal. The fixed order is indispensable throughout: without it, standard Level Planarity could permute vertices on levels and destroy the tunnel-and-barrier mechanism.

4. Linear-time regimes

The tractable subclasses all arise from strong structural simplifications. When

Vi={v∣γ(v)=i},V_i=\{v\mid \gamma(v)=i\},9

the graph is a set λi=∣Vi∣,\lambda_i=|V_i|,0 of disjoint λi=∣Vi∣,\lambda_i=|V_i|,1-monotone paths. The paper defines a precedence relation on paths: λi=∣Vi∣,\lambda_i=|V_i|,2 if λi=∣Vi∣,\lambda_i=|V_i|,3 have vertices λi=∣Vi∣,\lambda_i=|V_i|,4 on a common level with

λi=∣Vi∣,\lambda_i=|V_i|,5

This means that λi=∣Vi∣,\lambda_i=|V_i|,6 must be drawn to the left of λi=∣Vi∣,\lambda_i=|V_i|,7. If λi=∣Vi∣,\lambda_i=|V_i|,8 is acyclic, a linear extension provides a feasible left-to-right ordering of the paths and hence a drawing; if λi=∣Vi∣,\lambda_i=|V_i|,9 contains a cycle, no drawing exists. The test is executable in

NP\mathcal{NP}00

time by topological sorting (Klemz et al., 2017).

When NP\mathcal{NP}01, there is no left-right choice at all. Ordered Level Planarity reduces to ordinary Level Planarity on a graph with one vertex per level, so the case is linear-time solvable.

For proper instances, the paper states that Ordered Level Planarity is solvable in linear time by sweeping through the levels. The structural reason is localness: every edge connects consecutive levels, so the interaction pattern can be checked incrementally. This suggests that the source of hardness in the general problem is not only fixed order, but fixed order together with long-range edge interactions across multiple levels.

5. Geodesic Planarity and Bi-Monotonicity

A major consequence of the ordered framework is that it transfers hardness to fixed-position drawing problems. A Geodesic Planarity instance is

NP\mathcal{NP}02

where NP\mathcal{NP}03 prescribe vertex positions and NP\mathcal{NP}04 is a finite direction set symmetric with respect to the origin. A drawing is geodesic with respect to NP\mathcal{NP}05 if each edge is a polygonal path using two adjacent directions from NP\mathcal{NP}06. The paper proves that for every symmetric direction set NP\mathcal{NP}07 with

NP\mathcal{NP}08

Geodesic Planarity is NP\mathcal{NP}09-hard, even when the graph is a perfect matching and the prescribed coordinates are in general position (Klemz et al., 2017).

The reduction proceeds in two steps. First, an Ordered Level Planarity instance with

NP\mathcal{NP}10

is sheared by translating vertices on level NP\mathcal{NP}11 by NP\mathcal{NP}12 units to the right. This preserves the encoded left-right constraints while making every edge segment have positive slope; in the Manhattan case it can then be replaced by a nearby orthogonal NP\mathcal{NP}13-geodesic path. Second, each vertex NP\mathcal{NP}14 is split into a small gadget placed in a square NP\mathcal{NP}15 centered at

NP\mathcal{NP}16

Incident edges are attached to degree-NP\mathcal{NP}17 vertices near the square’s corners, and an additional blocking edge is inserted from top-left to bottom-right. Every non-blocking edge runs from bottom-left to top-right, so it cannot pass through another gadget square without crossing that square’s blocking edge. This localizes the geometry and turns the graph into a perfect matching.

The result applies in particular to Manhattan Geodesic Planarity, where NP\mathcal{NP}18 consists of the four horizontal and vertical directions. Katz, Krug, Rutter, and Wolff had claimed polynomial-time solvability for perfect matchings, but the hardness theorem implies that this is incorrect unless

NP\mathcal{NP}19

Bi-Monotonicity asks for a planar drawing with fixed vertex positions in which every edge is both NP\mathcal{NP}20-monotone and NP\mathcal{NP}21-monotone. The paper notes that every NP\mathcal{NP}22-geodesic rectilinear path can be transformed into a bi-monotone curve and vice versa. Hence the Manhattan reduction immediately yields: NP\mathcal{NP}23 Ordered Level Planarity is therefore not only a graph-drawing problem in its own right, but also a hardness core for several fixed-position variants.

6. Ordered Level Planarity inside broader constrained level models

Ordered Level Planarity is a very restricted special case of several broader level-drawing models, so its hardness results strengthen earlier negative results for those settings. The reduction to Constrained Level Planarity is immediate: Ordered Level Planarity is exactly the case in which the allowed order on each level is a single total order (Klemz et al., 2017).

For T-Level Planarity, each level NP\mathcal{NP}24 is equipped with a tree NP\mathcal{NP}25, and leaves in each subtree must appear consecutively. The paper reduces Ordered Level Planarity to T-Level Planarity by first ensuring width NP\mathcal{NP}26, then adding two global paths NP\mathcal{NP}27 and NP\mathcal{NP}28 intended to stay to the left and right of the original vertices, and choosing the level trees so that the designated vertex NP\mathcal{NP}29 must be consecutive with the left anchor NP\mathcal{NP}30 and NP\mathcal{NP}31 with the right anchor NP\mathcal{NP}32. Any T-level planar drawing then forces NP\mathcal{NP}33 to lie left of NP\mathcal{NP}34 on every level, thereby recovering the ordered constraint.

For Clustered Level Planarity, the reduction uses only two non-trivial clusters,

NP\mathcal{NP}35

After padding levels if necessary, the designated vertices NP\mathcal{NP}36 and NP\mathcal{NP}37 are assigned so that NP\mathcal{NP}38 contains all NP\mathcal{NP}39 and NP\mathcal{NP}40 contains all NP\mathcal{NP}41. The edges are heavily subdivided to satisfy cluster-boundary crossing rules. Because the two cluster regions pass through every level and cannot intersect or nest improperly, one may assume NP\mathcal{NP}42 is always left of NP\mathcal{NP}43, so the ordered constraint is encoded by cluster membership. This yields the consequence that Clustered Level Planarity remains NP\mathcal{NP}44-hard even for flat hierarchies with only two non-trivial clusters, answering a question posed by Angelini, Da Lozzo, Di Battista, Frati, and Roselli.

The overall significance is structural. Standard Level Planarity is polynomial-time solvable, but fixing a total order on every level removes exactly the flexibility that makes the ordinary problem tractable. In the ordered setting, levels become rigid corridors, clause gadgets become unique, tunnels become unavoidable, and variable gadgets can block whole route families. This suggests that Ordered Level Planarity is a minimal rigid form of level drawing: once the per-level order is prescribed, Boolean choice and clause satisfaction can already be encoded within degree-NP\mathcal{NP}45, width-NP\mathcal{NP}46 instances.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to ORDERED.