Recognizing Weak Embeddings of Graphs

We present an efficient algorithm for a problem in the interface between clustering and graph embeddings. An embedding $\varphi:G\rightarrow M$ of a graph $G$ into a 2-manifold $M$ maps the vertices in $V(G)$ to distinct points and the edges in $E(G)$ to interior-disjoint Jordan arcs between the corresponding vertices. In applications in clustering, cartography, and visualization, nearby vertices and edges are often bundled to the same point or overlapping arcs, due to data compression or low resolution. This raises the computational problem of deciding whether a given map $\varphi:G\rightarrow M$ comes from an embedding. A map $\varphi:G\rightarrow M$ is a \textbf{weak embedding} if it can be perturbed into an embedding $\psi_\varepsilon:G\rightarrow M$ with $\|\varphi-\psi_\varepsilon\| 0$, where $\|.\|$ is the unform norm. A polynomial-time algorithm for recognizing weak embeddings has recently been found by Fulek and Kyncl. It reduces the problem to solving a system of linear equations over $\mathbb{Z}_2$. It runs in $O(n^{2\omega})\leq O(n^{4.75})$ time, where $\omega\in [2,2.373)$ is the matrix multiplication exponent and $n$ is the number of vertices and edges of $G$. We improve the running time to $O(n\log n)$. Our algorithm is also conceptually simpler: We perform a sequence of \emph{local operations} that gradually "untangles" the image $\varphi(G)$ into an embedding $\psi(G)$, or reports that $\varphi$ is not a weak embedding. It combines local constraints on the orientation of subgraphs directly, thereby eliminating the need for solving large systems of linear equations.

[1]  A. D. Mesmay,et al.  Embeddability in $\mathbb{R}^3$ is NP-hard. , 2017, 1708.07734.

[2]  Dušan Repovš,et al.  A deleted product criterion for approximability of maps by embeddings , 1998 .

[3]  Bojan Mohar,et al.  A Linear Time Algorithm for Embedding Graphs in an Arbitrary Surface , 1999, SIAM J. Discret. Math..

[4]  Jeff Erickson,et al.  Detecting Weakly Simple Polygons , 2015, SODA.

[5]  Jan Kyncl,et al.  Hanani-Tutte for approximating maps of graphs , 2017, SoCG.

[6]  Roberto Tamassia,et al.  On-Line Planarity Testing , 1989, SIAM J. Comput..

[7]  Carsten Thomassen,et al.  The Graph Genus Problem is NP-Complete , 1989, J. Algorithms.

[8]  Ch. Chojnacki,et al.  Über wesentlich unplättbare Kurven im dreidimensionalen Raume , 1934 .

[9]  A. Skopenkov,et al.  A generalization of Neuwirth's theorem on thickening 2-dimensional polyhedra , 1995 .

[10]  Csaba D. Tóth,et al.  Recognizing Weakly Simple Polygons , 2016, Symposium on Computational Geometry.

[11]  Giordano Da Lozzo,et al.  Clustered Planarity with Pipes , 2016, ISAAC.

[12]  W. T. Tutte Toward a theory of crossing numbers , 1970 .

[13]  Robert F. Cohen,et al.  How to Draw a Planar Clustered Graph , 1995, COCOON.

[14]  Henning Bruhn,et al.  MacLane's theorem for arbitrary surfaces , 2009, J. Comb. Theory, Ser. B.

[15]  Giuseppe Di Battista,et al.  Strip Planarity Testing for Embedded Planar Graphs , 2013, Algorithmica.

[16]  Robert E. Tarjan,et al.  Efficient Planarity Testing , 1974, JACM.

[17]  Radoslav Fulek Embedding Graphs into Embedded Graphs , 2017, ISAAC.

[18]  K. Sieklucki,et al.  Realization of mappings , 1969 .

[19]  Virginia Vassilevska Williams,et al.  Multiplying matrices faster than coppersmith-winograd , 2012, STOC '12.

[20]  Self-nonintersecting and non intersecting chains , 1983 .

[21]  Mikhail Skopenkov,et al.  ON APPROXIMABILITY BY EMBEDDINGS OF CYCLES IN THE PLANE , 2003, 0808.1187.

[22]  Martin Tancer,et al.  Embeddability in R3 is NP-hard , 2017, J. ACM.

[23]  Giuseppe Di Battista,et al.  On embedding a cycle in a plane graph , 2009, Discret. Math..

[24]  Michael Jünger,et al.  Level Planarity Testing in Linear Time , 1998, Graph Drawing.

[25]  Robert F. Cohen,et al.  Planarity for Clustered Graphs , 1995, ESA.