Introduction
In the field of graph visualization, representing complex data structures as nodes and links requires a focus on "readability." A primary hurdle is the presence of edge crossings. While traditional research has prioritized minimizing the total number of crossings, recent neurophysiological studies suggest that the angle of crossing is equally critical. Edges crossing at acute angles are significantly more difficult for the human eye to parse than those crossing at near-perpendicular angles. The BIGCROSS algorithm addresses this by explicitly optimizing for large crossing angles within a force-directed framework.
Methodology: The BIGCROSS Algorithm
The BIGCROSS method extends the Classical Spring Algorithm, which models graphs as physical systems of springs (edges) and repelling charged particles (nodes). To this base model, the authors introduce a novel Cosine Force.
The Cosine Force Concept
When two edges cross, the algorithm treats their four endpoints as if they are linked by auxiliary springs. This conceptual model "pushes" vertices apart when the crossing angle $\theta$ is acute ($<90^\circ$) and "pulls" them together when it is obtuse ($>90^\circ$). The force magnitude is proportional to $\cos \theta$, reaching zero at a perfect 90-degree intersection.
Force Directionality
The authors evaluated several methods for applying this force: parallel, rotational, and attractive/repulsive. The parallel direction was identified as the most effective and stable. In this configuration, the force applied to a vertex is oriented parallel to the other edge involved in the crossing.
Experimental Evaluation
The algorithm was tested against the classical spring model using thousands of graphs across five distinct categories, including structured FR graphs, planar graphs, and various random graph models (Erdos-Renyi, Watts-Strogatz, and Eppstein-Wang).
Key Results and Aesthetic Synergy
The quantitative results demonstrated that BIGCROSS successfully increased average crossing angles by 3.2 to 5.7 degrees. More surprisingly, optimizing for angles produced significant "side-effect" benefits for other aesthetic metrics:
- Reduced Total Crossings: By forcing edges toward right angles, the system naturally untangled complex regions, reducing median crossings in Eppstein-Wang graphs from 247 to 218.
- Edge Length Uniformity: Drawings appeared more regular, with lower edge length deviation compared to the standard spring model.
- Trade-offs: A minor decrease in angular resolution (the angle between edges sharing a common vertex) was observed, as the algorithm prioritizes crossing angles.
Conclusion and Future Directions
The BIGCROSS method proves that crossing angle optimization is not just a niche aesthetic goal but a powerful tool for improving overall graph layout quality. While the current $O(E^2)$ complexity for crossing detection poses a challenge for very large graphs, the authors suggest integrating faster intersection algorithms or incorporating the cosine force into high-performance frameworks like the Hu-Koren model. Future iterations may also refine the force logic to better balance crossing angles with vertex angular resolution.
Summary updated