METHODS AND TOOLS FOR GRAPH VISUALIZATION IN DYNAMIC SYSTEMS: ANALYSIS AND EXPERIMENTAL STUDY

2025;
: 131-139
https://doi.org/10.23939/ujit2025.01.131
Received: March 31, 2025
Revised: April 14, 2025
Accepted: May 01, 2025
1
Lviv Polytechnic National University, Lviv, Ukraine
2
Lviv Polytechnic National University, Lviv, Ukraine

Graph visualization is a key tool for interpreting complex data in systems with dynamic relationships, such as transportation, computer, or social networks, where the underlying structure is continuously evolving. In such contexts, there is a growing need for adaptive visualization methods that can ensure clear, intuitive, and timely representation of structural changes. This paper analyzes force-directed graph layout methods, which simulate attractive and repulsive physical forces to determine vertex positions in a two-dimensional space, aiming to minimize the system’s energy function. A custom software application was developed using the Java programming language, integrated with the Spring framework, the GraphStream library, and JavaFX for visualization. The system provides functionality for implementing, configuring, and comparing the Eades, Fruchterman – Reingold, and Kamada – Kawai algorithms. An experimental study was conducted using various types of graphs from open datasets, particularly Rome-Lib and the Scotch Graph Collection, to evaluate the behavior of each algorithm under different conditions. Resultsshow that the Fruchterman – Reingold algorithm demonstrates smooth and gradual layout transitions, high adaptability to structural changes, and good scalability, making it suitable for real-time dynamic graph visualization, such as traffic monitoring systems. The Kamada – Kawai algorithm provides stable and symmetric but has higher computational complexity and less suitability for interactive scenarios due to abrupt movements of individual vertices. The Eades algorithm performs effectively on sparse or tree-like graphs but tends to produce overly long edges and excessive edge crossings in denser graphs. The developed application supports automatic detection of graph structure changes and restarts the layout algorithm accordingly, enabling near real-time reflection of updates in the visual representation. A promising direction for future research is the integration of neural networks to automate layout evaluation, graph-type classification, and algorithm selection based on specific graph characteristics and task requirements. Such an adaptive approach is expected to enhance the efficiency, clarity, and responsiveness of graph visualizations in dynamic systems, contributing to improved monitoring, analysis, and decision-making based on graph- based models.

[1] Birch, K., Cochrane, D. T., & Ward, C. (2021). Data as asset? The measurement, governance, and valuation of digital personal data by Big Tech. Big Data & Society, 8(1), 115. https://doi.org/10.1177/20539517211017308

[2] Gupta, S., Justy, T., Kamboj, S., Kumar, A., & Kristo- ffersen, E. (2021). Big data and firm marketing performance: Findings from knowledge-based view. Technological Forecasting and Social Change, 171, Article 120986. https://doi.org/ 10.1016/ j.techfore.2021.120986

[3] Boeing, G. (2025). Modeling and analyzing urban networks and amenities with OSMnx (Working paper). University of Southern California. Retrieved from: https://geoffboeing. com/share/osmnx-paper.pdf

[4] Rathore, M. M., Shah, S. A., Awad, A., Shukla, D., Vimal, S., & Paul, A. (2021). A cyber-physical system and graph-based approach for transportation management in smart cities. Sustainability, 13(14), Article 7606. https://doi.org/ 10.3390/ su13147606

[5] Anisa, R., Prihandini, R. M., Alvina, D. A. R. J., Makhfud- loh, I. I., Agatha, A. B., & Wulandari, Y. N. (2024). Application of graph theory in computer network optimization. Retrieved from: https://www.researchgate.net/ publication/ 381490742_Application_of_Graph_Theory_in_ Computer_Network_Optimization

[6] Logan, A. P., LaCasse, P. M., & Lunday, B. J. (2023). Social network analysis of Twitter interactions: A directed multilayer network approach. Social Network Analysis and Mining, 13(65). https://doi.org/10.1007/s13278-023-01063-2

[7] Aksoy, S. G., Purvine, E., Cotilla-Sanchez, E., & Halappa- navar, M. (2018). A generative graph model for electrical infrastructure networks. Journal of Complex Networks, 7(1), 128–162. https://doi.org/10.1093/comnet/cny016

[8] Bi, S., & Zhang, Y. J. A. (2016). Graph-based cyber security analysis of state estimation in smart power grid. IEEE Communications Magazine, arXiv preprint arXiv:1612. 05878. https://arxiv.org/abs/1612.05878

[9] Graph Layout Benchmark Datasets. Retrieved March 26, 2025, from: https://visdunneright.github.io/gd_ benchmark_sets/

[10] Beck, F., Burch, M., Diehl, S., & Weiskopf, D. (2014). The state of the art in visualizing dynamic graphs. In R. Borgo, R. Maciejewski, & I. Viola (Eds.), Eurographics Conference on Visualization (EuroVis) – STARs. The Eurographics Association. https://doi.org/10.2312/eurovisstar.20141174

[11] Cheong, S.-H., Si, Y.-W., & Wong, R. K. (2021). Online force-directed algorithms for visualization of dynamic graphs. Information Sciences, 556, 223–255. https://doi.org/ 10.1016/ j.ins.2020.12.068

[12] Kobourov, S. G. (2013). Force-directed algorithms for schematic drawings and placement: A survey. In Handbook of Graph Drawing and Visualization (pp. 383–408). CRC Press. https://doi.org/10.1016/j.ins.2020.12.069

[13] Cheong, S.-H., & Si, Y.-W. (2020). Force-directed algorithms for schematic drawings and placement: A survey. Information Visualization, 19(1), 6591. https://doi.org/ 10.1177/ 1473871618821740

[14] Eades, P. (1984). A heuristic for graph drawing. Congressus Numerantium, 42, 149–160. Retrieved from https://www. cs.ubc.ca/~will/536E/papers/Eades1984.pdf

[15] Fruchterman, T. M. J., & Reingold, E. M. (1991). Graph drawing by force-directed placement. Software: Practice and Experience, 21(11), 1129–1164. https://doi.org/10.1002/spe. 4380211102

[16] Kamada, T., & Kawai, S. (1989). An algorithm for drawing general undirected graphs. Information Processing Letters, 31(1), 715. https://doi.org/10.1016/0020-0190(89)90102-6

[17] Danych, I., & Shpak, Z. (2024). Practical and educational application for interaction with graphs. In Proceedings of the 1st International Scientific and Practical Conference “Computational Intelligence and Smart Systems” (CISS- 2024) (pp. 37–39). Lviv: ATB Publishing.