Distance Adjustment of a Graph Drawing Stress Model (2403.15811v1)
Abstract: Stress models are a promising approach for graph drawing. They minimize the weighted sum of the squared errors of the Euclidean and desired distances for each node pair. The desired distance typically uses the graph-theoretic distances obtained from the all-node pair shortest path problem. In a minimized stress function, the obtained coordinates are affected by the non-Euclidean property and the high-dimensionality of the graph-theoretic distance matrix. Therefore, the graph-theoretic distances used in stress models may not necessarily be the best metric for determining the node coordinates. In this study, we propose two different methods of adjusting the graph-theoretical distance matrix to a distance matrix suitable for graph drawing while preserving its structure. The first method is the application of eigenvalue decomposition to the inner product matrix obtained from the distance matrix and the obtainment of a new distance matrix by setting some eigenvalues with small absolute values to zero. The second approach is the usage of a stress model modified by adding a term that minimizes the Frobenius norm between the adjusted and original distance matrices. We perform computational experiments using several benchmark graphs to demonstrate that the proposed method improves some quality metrics, including the node resolution and the Gabriel graph property, when compared to conventional stress models.
- Multicriteria scalable graph drawing via stochastic gradient descent, (sgd)2superscript𝑠𝑔𝑑2(sgd)^{2}( italic_s italic_g italic_d ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT. IEEE Transactions on Visualization and Computer Graphics, 28(6):2388–2399, 2022.
- U. Brandes and C. Pich. Eigensolver methods for progressive multidimensional scaling of large data. In International Symposium on Graph Drawing, pp. 42–53. Springer, 2006.
- U. Brandes and C. Pich. More flexible radial layout. In International Symposium on Graph Drawing, pp. 107–118. Springer, 2009.
- T. A. Davis and Y. Hu. The university of florida sparse matrix collection. ACM Transactions on Mathematical Software (TOMS), 38(1):1–25, 2011.
- Spine and radial drawings, 2013.
- T. Dwyer and Y. Koren. Dig-CoLa: directed graph layout through constrained energy minimization. In IEEE Symposium on Information Visualization, 2005. INFOVIS 2005., pp. 65–72. IEEE, 2005.
- IPSep-CoLa: An incremental procedure for separation constraint layout of graphs. IEEE Transactions on Visualization and Computer Graphics, 12(5):821–828, 2006.
- Stress majorization with orthogonal ordering constraints. In International Symposium on Graph Drawing, pp. 141–152. Springer, 2006.
- Constrained graph layout by stress majorization and gradient projection. Discrete Mathematics, 309(7):1895–1908, 2009.
- P. Eades. A heuristic for graph drawing. In Congressus Numerantium, pp. 149–160, 1984.
- Shape-Based Quality Metrics for Large Graph Visualization. J. Graph Algorithms Appl., 21(1):29–53, 2017.
- A force-directed method for large crossing angle graph drawing. arXiv preprint arXiv:1012.4559, 2010.
- Coast: A convex optimization approach to stress-based embedding. In International Symposium on Graph Drawing, pp. 268–279. Springer, 2013.
- A maxent-stress model for graph layout. IEEE Transactions on Visualization and Computer Graphics, 19(6):927–940, 2012.
- Graph drawing by stress majorization. In Graph Drawing: 12th International Symposium, GD 2004, New York, NY, USA, September 29-October 2, 2004, Revised Selected Papers 12, pp. 239–250. Springer, 2005.
- An algorithm for drawing general undirected graphs. Information processing letters, 31(1):7–15, 1989.
- Drawing large graphs by low-rank stress majorization. In Computer Graphics Forum, vol. 31, pp. 975–984. Wiley Online Library, 2012.
- S. G. Kobourov. Force-directed drawing algorithms. In Handbook of Graph Drawing and Visualization, chap. 12, pp. 383–408. CRC Press, 2013.
- S. G. Kobourov and K. Wampler. Non-Eeuclidean spring embedders. IEEE Transactions on Visualization and Computer Graphics, 11(6):757–767, 2005.
- Y. Koren and A. Civril. The binary stress model for graph drawing. In International Symposium on Graph Drawing, pp. 193–205. Springer, 2008.
- Sublinear Time Force Computation for Big Complex Network Visualization. In Computer Graphics Forum, vol. 39, pp. 579–591. Wiley Online Library, 2020.
- Sublinear-time algorithms for stress minimization in graph drawing. In 2021 IEEE 14th Pacific Visualization Symposium (PacificVis), pp. 166–175. IEEE, 2021.
- Drawing Large Graphs by Multilevel Maxent-Stress Optimization. IEEE Transactions on Visualization and Computer Graphics, 24(5):1814–1827, 2018.
- Spherical Graph Drawing by Multi-dimensional Scaling. In International Symposium on Graph Drawing and Network Visualization, pp. 77–92. Springer, 2022.
- Browser-based Hyperbolic Visualization of Graphs. In 2022 IEEE 15th Pacific Visualization Symposium (PacificVis), pp. 71–80. IEEE, 2022.
- Proxy Graph: Visual Quality Metrics of Big Graph Sampling. IEEE Transactions on Visualization and Computer Graphics, 23(6):1600–1611, 2017.
- A sparse stress model. In International Symposium on Graph Drawing and Network Visualization, pp. 18–32. Springer, 2016.
- Methods for Visual Understanding of Hierarchical System Structures. IEEE Transactions on Systems, Man, and Cybernetics, 11(2):109–125, 1981.
- R. Tamassia. Handbook of graph drawing and visualization. CRC press, 2013.
- Revisiting stress majorization as a unified framework for interactive constrained graph visualization. IEEE Transactions on Visualization and Computer Graphics, 24(1):489–499, 2017.
- Target Netgrams: An Annulus-Constrained Stress Model for Radial Graph Visualization. IEEE Transactions on Visualization and Computer Graphics, 2022.
- Graph drawing by stochastic gradient descent. IEEE Transactions on Visualization and Computer Graphics, 25(9):2738–2748, 2018.