English

On Layered Area-Proportional Rectangle Contact Representations

Computational Geometry 2026-02-05 v2

Abstract

Semantic word clouds visualize the semantic relatedness between the words of a text by placing pairs of related words close to each other. Formally, the problem of drawing semantic word clouds corresponds to drawing a rectangle contact representation of a graph whose vertices correlate to the words to be displayed and whose edges indicate that two words are semantically related. The goal is to maximize the number of realized contacts while avoiding any false adjacencies. We consider a variant of this problem that restricts input graphs to be layered and all rectangles to be of equal height, called \textsc{Maximum Layered Contact Representation Of Word Networks} or \textsc{Max-LayeredCrown}, as well as the variant \textsc{Max-IntLayeredCrown}, which restricts the problem to only rectangles of integer width and the placement of those rectangles to integer coordinates. We classify the corresponding decision problem kk-\textsc{IntLayeredCrown} as NP-complete even for triangulated graphs and kk-\textsc{LayeredCrown} as NP-complete for planar graphs. We introduce three algorithms: a 1/2-approximation for \textsc{Max-LayeredCrown} of triangulated graphs, and a PTAS and an XP algorithm for \textsc{Max-IntLayeredCrown} with rectangle width polynomial in nn.

Keywords

Cite

@article{arxiv.2311.15057,
  title  = {On Layered Area-Proportional Rectangle Contact Representations},
  author = {Carolina Haase and Philipp Kindermann},
  journal= {arXiv preprint arXiv:2311.15057},
  year   = {2026}
}

Comments

Appears in the Proceedings of the 18th International Conference and Workshops on Algorithms and Computation (WALCOM 2024)

R2 v1 2026-06-28T13:31:25.326Z