English

Untangling a Planar Graph

Computational Geometry 2009-01-27 v5 Discrete Mathematics

Abstract

A straight-line drawing δ\delta of a planar graph GG need not be plane, but can be made so by \emph{untangling} it, that is, by moving some of the vertices of GG. Let shift(G,δ)(G,\delta) denote the minimum number of vertices that need to be moved to untangle δ\delta. We show that shift(G,δ)(G,\delta) is NP-hard to compute and to approximate. Our hardness results extend to a version of \textsc{1BendPointSetEmbeddability}, a well-known graph-drawing problem. Further we define fix(G,δ)=nshift(G,δ)(G,\delta)=n-shift(G,\delta) to be the maximum number of vertices of a planar nn-vertex graph GG that can be fixed when untangling δ\delta. We give an algorithm that fixes at least ((logn)1)/loglogn\sqrt{((\log n)-1)/\log \log n} vertices when untangling a drawing of an nn-vertex graph GG. If GG is outerplanar, the same algorithm fixes at least n/2\sqrt{n/2} vertices. On the other hand we construct, for arbitrarily large nn, an nn-vertex planar graph GG and a drawing δG\delta_G of GG with fix(G,δG)n2+1(G,\delta_G) \le \sqrt{n-2}+1 and an nn-vertex outerplanar graph HH and a drawing δH\delta_H of HH with fix(H,δH)2n1+1(H,\delta_H) \le 2 \sqrt{n-1}+1. Thus our algorithm is asymptotically worst-case optimal for outerplanar graphs.

Keywords

Cite

@article{arxiv.0709.0170,
  title  = {Untangling a Planar Graph},
  author = {Xavier Goaoc and Jan Kratochvil and Yoshio Okamoto and Chan-Su Shin and Andreas Spillner and Alexander Wolff},
  journal= {arXiv preprint arXiv:0709.0170},
  year   = {2009}
}

Comments

(v5) Minor, mostly linguistic changes

R2 v1 2026-06-21T09:13:11.879Z