Abstract
Network visualization often struggles with "hairball" effects where dense clusters obscure the underlying structure. This paper investigates the $h$-Clique2Path Planarity problem, which seeks to simplify cliques of size up to $h$ into paths to achieve a planar representation. We demonstrate that while the problem is efficiently solvable for 1-plane graphs, it becomes NP-complete for 3-plane graphs with $h \ge 4$.
Introduction
In the field of graph drawing, dense sub-networks or cliques frequently lead to visual clutter. A common simplification strategy is to replace these cliques with simpler structures, such as paths or trees, while ensuring the resulting graph is planar. This paper formalizes this as the $h$-Clique2Path Planarity problem: given a graph with identified cliques, can we delete edges within each clique to leave only a path such that the final graph is planar?
Complexity and Hardness
The computational difficulty of $h$-Clique2Path Planarity depends heavily on the initial edge-crossing constraints. The authors explore this through the lens of "beyond-planarity," specifically $k$-plane graphs where each edge crosses at most $k$ others.
The NP-Completeness of 3-Plane Graphs
A key result is that for $h=4$, the problem is NP-complete even for simple topological 3-plane graphs. The proof utilizes a reduction from Planar Positive 1-in-3-SAT, employing complex gadgets to represent variables and clauses.
As shown in Figure 4, the reduction involves constructing variable gadgets and clause gadgets connected by chains of cliques. The search for a planar path-subgraph in this construction is equivalent to finding a satisfying assignment for the logic problem.
Algorithmic Solutions for Sparse Graphs
In contrast to the hardness results for 3-plane graphs, the problem is significantly easier for more restricted classes.
Linear-Time Algorithm for 1-Plane Graphs
For 1-plane graphs, the authors provide an $O(n)$ time algorithm. The core insight is "locality": in a 1-plane graph, the ways cliques can interact are strictly limited. Large cliques (5 or 6 vertices) cannot cross each other without violating the 1-planarity constraint. This allows the algorithm to perform local checks on small graph segments independently.
Small Cliques ($h=3$)
When cliques are limited to 3 vertices, the problem can be mapped to a 2-SAT formulation. Since 2-SAT is solvable in polynomial time, 3-Clique2Path Planarity is always efficiently solvable for any simple topological graph.
Key Insights: Paths vs. Trees
The requirement to reduce a clique to a path rather than a tree introduces unique structural constraints. In a path, internal nodes must have a degree of exactly two, which limits how other edges can connect to the clique without causing crossings. This constraint is what drives the complexity threshold; even a small amount of edge-crossing flexibility (like in 3-plane graphs) makes the search for a valid path-subgraph incredibly complex.
Conclusion and Future Work
This research establishes a clear boundary for the complexity of simplifying cliques into paths. While 1-plane graphs allow for efficient simplification, the introduction of just a few more crossings (3-plane) makes the problem NP-complete. Future work may address the "gap" of 2-plane graphs and explore geometric versions of the problem where edges are restricted to straight lines.
Summary updated