English

Polygon-Universal Graphs

Computational Geometry 2021-03-15 v1

Abstract

We study a fundamental question from graph drawing: given a pair (G,C)(G,C) of a graph GG and a cycle CC in GG together with a simple polygon PP, is there a straight-line drawing of GG inside PP which maps CC to PP? We say that such a drawing of (G,C)(G,C) respects PP. We fully characterize those instances (G,C)(G,C) which are polygon-universal, that is, they have a drawing that respects PP for any simple (not necessarily convex) polygon PP. Specifically, we identify two necessary conditions for an instance to be polygon-universal. Both conditions are based purely on graph and cycle distances and are easy to check. We show that these two conditions are also sufficient. Furthermore, if an instance (G,C)(G,C) is planar, that is, if there exists a planar drawing of GG with CC on the outer face, we show that the same conditions guarantee for every simple polygon PP the existence of a planar drawing of (G,C)(G,C) that respects PP. If (G,C)(G,C) is polygon-universal, then our proofs directly imply a linear-time algorithm to construct a drawing that respects a given polygon PP.

Keywords

Cite

@article{arxiv.2103.06916,
  title  = {Polygon-Universal Graphs},
  author = {Tim Ophelders and Ignaz Rutter and Bettina Speckmann and Kevin Verbeek},
  journal= {arXiv preprint arXiv:2103.06916},
  year   = {2021}
}