MODIFICATION OF THE THREAD METHOD WITH USING THE GAMMA ALGORITHMFOR GRAPH TOPOLOGICAL DRAWING BUILDING
DOI:
https://doi.org/10.32782/tnv-tech.2024.1.10Keywords:
graph, planarity check, graph visualization, graph topological drawing, vertex rotation diagram, isometric cycles, thread method, graph vertex rotation, algorithmAbstract
In this paper, one consider a modified algorithm of the thread method, which is designed to check a graph for planarity with the simultaneous building a topological drawing of a planar graph in the form of a system of isometric cycles and lists of rotation of graph vertices. Obtaining the rotation of the graph vertices immediately solves two important problems: the problem of checking the graph for planarity and the problem of building a topological drawing of a planar graph. The system of graph isometric cycles obtained as a result of the algorithm induces the rotation of vertices to describe the topological pattern of a planar graph for the purposes of subsequent visualization. The topological drawing of the flat part of the graph makes it possible to describe the process of planarization by algebraic methods without making any geometric constructions on the plane. The presented algorithm is based on the rearrangement of the reference cycle and the construction of a list of reverse routes. The basis of the calculation is the construction of a matrix of fundamental cycles based on the construction of the spanning tree of the graph by the depth-first search method. Based on the matrix of fundamental cycles, the chains that form the routes are selected. To obtain a system of isometric cycles, routes are embedded using a modified gamma algorithm. An adapted version of the gamma algorithm in the application of the thread method makes it possible to embed path-forming chains into graph cycles and simplifies the task of finding suitable cycles for this. Adaptation of the gamma algorithm includes an additional predictive index to determine the possibility of embedding subsequent paths in a given cycle. Graph planarization is the most important subtask in solving many relevant applied problems, such as designing complex products and systems, flat constructs, analyzing social networks, etc.
References
Goyal P., Ferrara E. Graph embedding techniques, applications, and performance: A survey. Knowledge-Based Systems. 2018. Vol. 151. P. 78–94.
Tamassia R. Handbook of Graph Drawing and Visualization. C&H/CRC. 2013. P. 844.
Kurapov S. V., Davidovsky M. V., Tolok A. V. Generating a topological drawing of the flat part of a non-planar graph. Scientific Visualization. 2020. Vol. 12, No. 1, P. 90–102. DOI: 10.26583/sv.12.1.08
Kavitha T., Liebchen C., Mehlhorn K., Michail D., et al. Cycle bases in graphs – characterization, algorithms, complexity, and applications. Comput. Sci. Rev.. 2009. No. 3. P. 199–243.
Ringel G. Map Color Theorem. Repr. of the orig. 1st ed. (1974). Springer. 2011. P. 212.
Patrignani M. Planarity testing and embedding. Chapter 1. Handbook of Graph Drawing and Visualization. Roberto Tamassia, Editor. CRC Press. 2013. June 24, P. 1–42.
Hopcroft J., Tarjan R. E. Efficient planarity testing. Journal of the Association for Computing Machinery. 1974. Т. 21, No. 4, P. 549–568.
Kurapov S. V., Davidovsky M. V., Tolok A. V. A modified algorithm for planarity testing and constructing the topological drawing of a graph. The thread method. Scientific Visualization. 2018. Т. 10, No. 4, P. 53–74.
Hrebeniuk B. Modification of the analytical gamma-algorithm for the flat layout of the graph. Computer Science & Software Engineering. 2018. Vol. 2292, P. 46–54.