English

Orthogonal Graph Drawing with Inflexible Edges

Data Structures and Algorithms 2015-01-08 v2 Discrete Mathematics

Abstract

We consider the problem of creating plane orthogonal drawings of 4-planar graphs (planar graphs with maximum degree 4) with constraints on the number of bends per edge. More precisely, we have a flexibility function assigning to each edge ee a natural number flex(e)\mathrm{flex}(e), its flexibility. The problem FlexDraw asks whether there exists an orthogonal drawing such that each edge ee has at most flex(e)\mathrm{flex}(e) bends. It is known that FlexDraw is NP-hard if flex(e)=0\mathrm{flex}(e) = 0 for every edge ee. On the other hand, FlexDraw can be solved efficiently if flex(e)1\mathrm{flex}(e) \ge 1 and is trivial if flex(e)2\mathrm{flex}(e) \ge 2 for every edge ee. To close the gap between the NP-hardness for flex(e)=0\mathrm{flex}(e) = 0 and the efficient algorithm for flex(e)1\mathrm{flex}(e) \ge 1, we investigate the computational complexity of FlexDraw in case only few edges are inflexible (i.e., have flexibility~00). We show that for any ε>0\varepsilon > 0 FlexDraw is NP-complete for instances with O(nε)O(n^\varepsilon) inflexible edges with pairwise distance Ω(n1ε)\Omega(n^{1-\varepsilon}) (including the case where they induce a matching). On the other hand, we give an FPT-algorithm with running time O(2knTflow(n))O(2^k\cdot n \cdot T_{\mathrm{flow}}(n)), where Tflow(n)T_{\mathrm{flow}}(n) is the time necessary to compute a maximum flow in a planar flow network with multiple sources and sinks, and kk is the number of inflexible edges having at least one endpoint of degree 4.

Keywords

Cite

@article{arxiv.1404.2943,
  title  = {Orthogonal Graph Drawing with Inflexible Edges},
  author = {Thomas Bläsius and Sebastian Lehmann and Ignaz Rutter},
  journal= {arXiv preprint arXiv:1404.2943},
  year   = {2015}
}

Comments

23 pages, 5 figures

R2 v1 2026-06-22T03:48:19.196Z