[Paper Review] Visualizing Graphs with Node and Edge Labels
This paper proposes ePRISM, a unified algorithm for removing overlaps between node and edge labels in graph visualizations while preserving layout aesthetics. It uses a penalized proximity stress model with Delaunay triangulation to iteratively adjust node and edge positions, minimizing distortion and maintaining mostly straight edges, resulting in clear, readable layouts even with dense labeling.
When drawing graphs whose edges and nodes contain text or graphics, such informa tion needs to be displayed without overlaps, either as part of the initial layout or as a post-processing step. The core problem in removing overlaps lies in retaining the structural information inherent in a layout, minimizing the additional area required, and keeping edges as straight as possible. This paper presents a unified node and edge overlap removal algorithm that does well at solving this problem.
Motivation & Objective
- To address the challenge of visualizing graphs with both node and edge labels without overlap, while preserving the original layout's structural integrity.
- To minimize layout distortion and additional area required, especially when scaling is impractical.
- To maintain edge straightness as much as possible, avoiding excessive bending due to label placement.
- To extend existing node overlap removal techniques to handle both node and edge labels simultaneously.
- To produce visually pleasing, scalable layouts suitable for large graphs with complex labeling.
Proposed method
- The algorithm uses a proximity graph constructed via Delaunay triangulation of initial node and edge label positions to guide adjustments.
- It applies a penalized proximity stress model (equation 5) that balances label separation with preservation of relative positions and edge straightness.
- The method alternates between solving the penalized stress model for label positions and detecting overlaps using a scan-line algorithm.
- Overlaps are resolved iteratively by solving a sparse linear system derived from the stress model, using conjugate gradient methods for efficiency.
- The algorithm includes a final pass with PRISM to resolve any remaining overlaps, especially on multiple edges between node pairs.
- Convergence is determined by relative displacement threshold (ε = 0.005) and a maximum of 1000 iterations.
Experimental results
Research questions
- RQ1How can both node and edge label overlaps be removed simultaneously while preserving the original layout’s structural shape?
- RQ2What is the optimal trade-off between minimizing area increase, preserving edge straightness, and eliminating label overlaps?
- RQ3Can a unified algorithm outperform separate post-processing steps for node and edge label overlap removal?
- RQ4How effective is the use of a proximity graph and penalized stress model in maintaining layout aesthetics during label adjustment?
- RQ5What is the computational scalability and convergence behavior of the proposed method on large, labeled graphs?
Key findings
- The ePRISM algorithm successfully removes all node and edge label overlaps in test cases, including the Olympic torch relay and country-city name co-occurrence graphs.
- Most edges remain straight or have only mild bends, significantly improving readability compared to layouts with high bend counts.
- The algorithm maintains the original layout’s structural shape, as evidenced by preserved clustering and proximity relationships in the visualizations.
- The method scales well for large graphs, as demonstrated by its application to the country-city name network with 100+ nodes and complex labeling.
- Despite dual objectives, the algorithm converges within 1000 iterations using a relative displacement threshold of ε = 0.005.
- The final PRISM pass resolves residual overlaps, particularly on multiple edges between the same node pairs, ensuring complete overlap removal.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.