Unit-length Rectangular Drawings of Graphs

Authors

  • Carlos Alegría Roma Tre University
  • Giordano Da Lozzo Roma Tre University
  • Giuseppe Di Battista Roma Tre University
  • Fabrizio Frati Roma Tre University
  • Fabrizio Grosso Roma Tre University
  • Maurizio Patrignani Roma Tre University

DOI:

https://doi.org/10.7155/jgaa.v28i1.2996

Keywords:

planarity, rectilinear drawing, rectangular faces, Grid graphs

Abstract

A rectangular drawing of a planar graph $G$ is a planar drawing of $G$ in which vertices are mapped to grid points, edges are mapped to horizontal and vertical straight-line segments, and faces are drawn as rectangles. Sometimes this latter constraint is relaxed for the outer face. In this paper, we study rectangular drawings in which the edges have unit length. We show a complexity dichotomy for the problem of deciding the existence of a unit-length rectangular drawing, depending on whether the outer face must also be drawn as a rectangle or not. Specifically, we prove that the problem is NP-complete for biconnected graphs when the drawing of the outer face is not required to be a rectangle, even if the sought drawing must respect a given combinatorial embedding, whereas it is polynomial-time solvable, both in the fixed and the variable embedding settings, if the outer face is required to be drawn as a rectangle. Furthermore, we provide a linear-time algorithm for deciding whether a plane graph admits an embedding-preserving unit-length rectangular drawing if the drawing of the outer face is prescribed. As a by-product of our research, we provide the first polynomial-time algorithm to test whether a planar graph $G$ admits a rectangular drawing, for general instances of maximum degree $4$.

Downloads

Download data is not yet available.

Downloads

Published

2024-11-07

How to Cite

Alegría, C., Da Lozzo, G., Di Battista, G., Frati, F., Grosso, F., & Patrignani, M. (2024). Unit-length Rectangular Drawings of Graphs. Journal of Graph Algorithms and Applications, 28(1), 403–437. https://doi.org/10.7155/jgaa.v28i1.2996

Issue

Section

Articles

Categories