Untangling Graphs on Surfaces
Éric Colin de Verdière, Vincent Despré, Loïc Dubois
Abstract
Consider a graph drawn on a surface (for example, the plane minus a finite set of obstacle points), possibly with crossings. We provide an algorithm to decide whether such a drawing can be untangled, namely, if one can slide the vertices and edges of the graph on the surface (avoiding the obstacles) to remove all crossings; in other words, whether the drawing is homotopic to an embedding. While the problem boils down to planarity testing when the surface is the sphere or the disk (or equivalently the plane without any obstacle), the other cases have never been studied before, except when the input graph is a cycle, in an abundant literature in topology and more recently by Despré and Lazarus [SoCG 2017, J. ACM 2019], who gave a near-linear algorithm for this problem.
Our algorithm runs in O(m + poly(g + b)n log n) time, where g ≥ 0 and b ≥ 0 are the genus and the number of boundary components of the input orientable surface S, and n is the size of the input graph drawing, lying on some fixed graph of size m cellularly embedded on S.
We use various techniques from two-dimensional computational topology and from the theory of hyperbolic surfaces. Most notably, we introduce reducing triangulations, a novel discrete analog of hyperbolic surfaces in the spirit of systems of quads by Lazarus and Rivaud [FOCS 2012] and Erickson and Whittlesey [SODA 2013], which have the additional benefit that reduced paths are unique and stable upon reversal; they are likely of independent interest. Tailored data structures are needed to achieve certain homotopy tests efficiently on these triangulations. As a key subroutine, we rely on an algorithm to test the weak simplicity of a graph drawn on a surface by Akitaya, Fulek, and Tóth [SODA 2018, TALG 2019].
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Builds on2
Related papers
- Crossing Number in Slightly Superexponential Time (Extended Abstract)Daniel Lokshtanov, Fahad Panolan, Saket Saurabh, Roohani Sharma et al.SODA 2025
- On the Computation of Schrijver's KernelsVincent Delecroix, Oscar Fontaine, Francis LazarusSODA 2026
- Optimal Orthogonal Drawings of Planar 3-Graphs in Linear TimeWalter Didimo, Giuseppe Liotta, Giacomo Ortali, Maurizio PatrignaniSODA 2020 · 19 citations
- Fully-dynamic planarity testing in polylogarithmic timeJacob Holm, Eva RotenbergSTOC 2020
- Towards Better Approximation of Graph Crossing NumberJulia Chuzhoy, Sepideh Mahabadi, Zihan TanFOCS 2020 · 4 citations
