English

Planar Straight-line Realizations of 2-Trees with Prescribed Edge Lengths

Data Structures and Algorithms 2021-10-08 v3

Abstract

We study a classic problem introduced thirty years ago by Eades and Wormald. Let G=(V,E,λ)G=(V,E,\lambda) be a weighted planar graph, where λ:ER+\lambda: E \rightarrow \mathbb{R}^+ is a length function. The Fixed Edge-Length Planar Realization problem (FEPR for short) asks whether there exists a planar straight-line realization of GG, i.e., a planar straight-line drawing of GG where the Euclidean length of each edge eEe \in E is λ(e)\lambda(e). Cabello, Demaine, and Rote showed that the FEPR problem is NP-hard, even when λ\lambda assigns the same value to all the edges and the graph is triconnected. Since the existence of large triconnected minors is crucial to the known NP-hardness proofs, in this paper we investigate the computational complexity of the FEPR problem for weighted 22-trees, which are K4K_4-minor free. We show its NP-hardness, even when λ\lambda assigns to the edges only up to four distinct lengths. Conversely, we show that the FEPR problem is linear-time solvable when λ\lambda assigns to the edges up to two distinct lengths, or when the input has a prescribed embedding. Furthermore, we consider the FEPR problem for weighted maximal outerplanar graphs and prove it to be linear-time solvable if their dual tree is a path, and cubic-time solvable if their dual tree is a caterpillar. Finally, we prove that the FEPR problem for weighted 22-trees is slice-wise polynomial in the length of the longest path.

Keywords

Cite

@article{arxiv.2108.12628,
  title  = {Planar Straight-line Realizations of 2-Trees with Prescribed Edge Lengths},
  author = {Carlos Alegría and Manuel Borrazzo and Giordano Da Lozzo and Giuseppe Di Battista and Fabrizio Frati and Maurizio Patrignani},
  journal= {arXiv preprint arXiv:2108.12628},
  year   = {2021}
}

Comments

Appears in the Proceedings of the 29th International Symposium on Graph Drawing and Network Visualization (GD 2021)