English

Extending Upward Planar Graph Drawings

Data Structures and Algorithms 2019-02-19 v1 Computational Geometry

Abstract

In this paper we study the computational complexity of the Upward Planarity Extension problem, which takes in input an upward planar drawing ΓH\Gamma_H of a subgraph HH of a directed graph GG and asks whether ΓH\Gamma_H can be extended to an upward planar drawing of GG. Our study fits into the line of research on the extensibility of partial representations, which has recently become a mainstream in Graph Drawing. We show the following results. First, we prove that the Upward Planarity Extension problem is NP-complete, even if GG has a prescribed upward embedding, the vertex set of HH coincides with the one of GG, and HH contains no edge. Second, we show that the Upward Planarity Extension problem can be solved in O(nlogn)O(n \log n) time if GG is an nn-vertex upward planar stst-graph. This result improves upon a known O(n2)O(n^2)-time algorithm, which however applies to all nn-vertex single-source upward planar graphs. Finally, we show how to solve in polynomial time a surprisingly difficult version of the Upward Planarity Extension problem, in which GG is a directed path or cycle with a prescribed upward embedding, HH contains no edges, and no two vertices share the same yy-coordinate in ΓH\Gamma_H.

Keywords

Cite

@article{arxiv.1902.06575,
  title  = {Extending Upward Planar Graph Drawings},
  author = {Giordano Da Lozzo and Giuseppe Di Battista and Fabrizio Frati},
  journal= {arXiv preprint arXiv:1902.06575},
  year   = {2019}
}
R2 v1 2026-06-23T07:43:43.442Z