Node Labeling in Line Diagrams of Ordered Sets
Abstract
We propose a flexible, two-phase algorithm for labeling line diagrams of ordered sets, in which the nodes of direct neighbors in the order relation are connected by a straight, upward-pointing line. In contrast to the labeling of diagrams of arbitrary graphs, we benefit from the fact that all edges in line diagrams of ordered sets are more or less vertical. In this paper, we study the placement of all labels such that they do not intersect with any nodes, lines, or other labels while minimizing the distances between the nodes and their labels. Our approach starts by filtering the fixed-position model using line diagram-specific readability criteria. For labels that cannot be placed adjacent to their node (overflow labels), we exploit the free space in the graph's interior or the infinite space surrounding the drawing and link the labels with their respective node by straight binding lines that should not cross other nodes or labels if possible. To balance quality and runtime, we derive an initial placement of the overflow labels using a cost function over a sparse grid of candidates, followed by a force-based refinement step to fine-tune the layout. Furthermore, we demonstrate the flexibility of this approach by applying it to the visual constraints of line diagrams in the field of Formal Concept Analysis (FCA), where certain labels have to be placed above their node and others below. This special version of the algorithm shows that a pre-filtering in the first phase and minimal adjustments for the cost function and force-based model are sufficient to handle the dual labeling requirements of concept lattices.
Create a lesson
Metadata
- Comments
- To appear in Proc. 34th International Symposium on Graph Drawing and Network Visualization (GD 2026)
Related papers
A Collapse Process for Farthest Voronoi Diagrams of Lines in Three Dimensions
Shared title terminologycs.CGEvanthia Papadopoulou, Martin Suderland, Zeyu Wang
Quadratic Complexity of Voronoi Diagrams in R^3 for Lines in a Single Ruling of a Regulus
Shared title terminologycs.CGEunku Park, Kangjin Han
Polynomial-Time Riesz-Energy Subset Selection for Ordered Point Sets on Lines and \ell_1-Staircases
Shared title terminologycs.CGMichael T. M. Emmerich
DimFlux: Force-Directed Additive Line Diagrams
Shared title terminologycs.CGMarcel Nöhre, Dominik Dürrschnabel, Bernhard Ganter et al.
Projected and Reflected Sliced Wasserstein Kernels for Persistence Diagrams
Shared title terminologycs.CGJulián Uribe Castañeda, Mircea Petrache
Implicit Additively Weighted Geodesic Voronoi Diagrams and Applications
Shared title terminologycs.CGBruce W. Brewer, Haitao Wang