Simultaneous Orthogonal Planarity

Patrizio Angelini, Steven Chaplick, Sabine Cornelsen, Giordano Da Lozzo, Giuseppe Di Battista, Peter Eades, Philipp Kindermann, Jan Kratochvíl, Fabian Lipp, Ignaz Rutter

Abstract

This paper introduces OrthoSEFE, a novel problem in graph drawing that combines Simultaneous Embedding with Fixed Edges (SEFE) with orthogonal constraints. The authors investigate the complexity of drawing multiple graphs sharing a common subgraph on a grid using only horizontal and vertical segments. While the problem is generally NP-complete, the study identifies specific structural conditions under which efficient solutions exist and provides bounds on edge bend complexity.

Introduction to OrthoSEFE

Simultaneous Embedding with Fixed Edges (SEFE) asks whether multiple graphs $G_1, \dots, G_k$ sharing a common set of vertices and edges can be drawn such that each graph is planar and shared elements are drawn identically. OrthoSEFE adds a geometric constraint: vertices must lie on grid points, and edges must be paths of horizontal and vertical segments.

An example of a simultaneous orthogonal drawing where multiple colored graphs share a central black path.

Because each grid point has only four available ports (up, down, left, right), the maximum degree of any vertex in the union of the graphs is naturally limited. This "stiffness" makes orthogonal drawings significantly harder to coordinate than standard topological ones, as a decision in one graph can create immediate conflicts in another.

Complexity and Hardness

The research highlights a sharp jump in complexity based on the number of graphs ($k$) and the connectivity of the shared subgraph ($G_c$).

The $k=2$ vs. $k=3$ Gap

The authors prove that OrthoSEFE is NP-complete for $k \ge 3$ graphs, even when the shared graph is a simple cycle. For $k=2$, the problem remains NP-complete if the shared graph is a cycle plus isolated vertices. These hardness results are established by reducing the problem to Not-All-Equal 3-SAT (NAE3SAT).

A shared cycle $C$ between graphs, a fundamental structure used to analyze the complexity of simultaneous embeddings.

Efficient Solutions

Conversely, the problem is solvable in polynomial time for two graphs ($k=2$) if the shared graph is biconnected and the union graph has a maximum degree of 5. The authors utilize SPQR-trees to decompose the graph into biconnected components, reducing the problem to a planar version of NAE3SAT that can be solved efficiently.

Key Insights: The "Bent" Vertex Dilemma

A critical insight of the paper is how degree-2 vertices in the shared graph act as transmitters of constraints. If two edges in one graph are on the same side of a path, the vertex must be "bent" (90°). This bendiness then constrains the available ports for the other graphs sharing that vertex.

Despite these constraints, the authors prove a Geometric Guarantee: every positive instance with a biconnected shared graph admits a drawing where no edge has more than three bends. This provides a practical bound on the visual complexity of the resulting layouts.

Conclusion and Future Work

This work establishes the theoretical boundaries of simultaneous orthogonal planarity. While biconnected shared graphs for $k=2$ are well-understood, the complexity for cases where the shared graph is only connected (containing cut-vertices) remains an open question. Future research may also explore non-sunflower instances, where different pairs of graphs share different sets of edges.

Summary updated

BibTeX
@inproceedings{angelini2016simultaneous,
  author = {Patrizio Angelini and Steven Chaplick and Sabine Cornelsen and Giordano Da Lozzo and Giuseppe Di Battista and Peter Eades and Philipp Kindermann and Jan Kratochvíl and Fabian Lipp and Ignaz Rutter},
  title = {{Simultaneous Orthogonal Planarity}},
  booktitle = {GD},
  year = {2016},
  doi = {10.1007/978-3-319-50106-2\_41},
}
Figure