Short description: Graph drawing with vertices on a circle
Circular layout of a
state diagram for the border gateway protocol
In graph drawing, a circular layout is a style of drawing that places the vertices of a graph on a circle, often evenly spaced so that they form the vertices of a regular polygon.
Applications
Circular layouts are a good fit for communications network topologies such as star or ring networks,[1] and for the cyclic parts of metabolic networks.[2] For graphs with a known Hamiltonian cycle, a circular layout allows the cycle to be depicted as the circle, and in this way circular layouts form the basis of the LCF notation for Hamiltonian cubic graphs.[3]
A circular layout may be used on its own for an entire graph drawing, but it also may be used as the layout for smaller clusters of vertices within a larger graph drawing, such as its biconnected components,[4] clusters of genes in a gene interaction graph,[5] or natural subgroups within a social network.[6] If multiple vertex circles are used in this way, other methods such as force-directed graph drawing may be used to arrange the clusters.[7]
One advantage of a circular layout in some of these applications, such as bioinformatics or social network visualization, is its neutrality:[8] by placing all vertices at equal distances from each other and from the center of the drawing, none is given a privileged position, countering the tendency of viewers to perceive more centrally located nodes as being more important.[9]
Edge style
The edges of the drawing may be depicted as chords of the circle,[10] as circular arcs[11] (possibly perpendicular to the vertex circle, so that the edges model lines of the Poincaré disk model of hyperbolic geometry), or as other types of curve.[12]
The visual distinction between the inside and the outside of the vertex circle in a circular layout may be used to separate two different styles of edge drawing. For instance, a circular drawing algorithm of (Gansner Koren) uses edge bundling within the circle, together with some edges that are not bundled, drawn outside the circle.[12]
For circular layouts of regular graphs, with edges drawn both inside and outside as circular arcs, the angle of incidence of one of these arcs with the vertex circle is the same at both ends of the arc, a property that simplifies the optimization of the angular resolution of the drawing.[11]
Number of crossings
Several authors have studied the problem of finding a permutation of the vertices of a circular layout that minimizes the number of edge crossings when all edges are drawn inside the vertex circle. This number of crossings is zero only for outerplanar graphs.[13] For other graphs, it may be optimized or reduced separately for each biconnected component of the graph before combining the solutions, as these components may be drawn so that they do not interact.[14] In general, minimizing the number of crossings is NP-complete.[15]
(Shahrokhi Sýkora) described an approximation algorithm based on balanced cuts or edge separators, subsets of few edges whose removal disconnects the given graph into two subgraphs with approximately equal numbers of vertices. After finding an approximate cut, their algorithm arranges the two subgraphs on each side of the cut recursively, without considering the additional crossings formed by the edges that cross the cut. They prove that the number of crossings occurring in the resulting layout, on a graph [math]\displaystyle{ G }[/math] with [math]\displaystyle{ n }[/math] vertices, is
[math]\displaystyle{ O\Bigl(\bigl(\rho\log n\bigr)^2\cdot\bigl(C+\sum_{v\in V(G)}\deg(v)^2\bigr)\Bigr), }[/math]
where [math]\displaystyle{ C }[/math] is the optimal number of crossings and [math]\displaystyle{ \rho }[/math] is the approximation ratio of the balanced cut algorithm used by this layout method. Their work cites a paper by Fan Chung and Shing-Tung Yau from 1994 that claimed [math]\displaystyle{ \rho=O(1) }[/math], but this was later found to have an erroneous proof. Instead, the best approximation known for the balanced cut problem has [math]\displaystyle{ \rho=O(\sqrt{\log n}) }[/math], giving this circular layout algorithm an approximation ratio of [math]\displaystyle{ O(\log^3 n) }[/math] on graphs that have a large number of crossings relative to their vertex degrees.
Heuristic methods for reducing the crossing complexity have also been devised, based e.g. on a careful vertex insertion order and on local optimization.[19] A circular layout may also be used to maximize the number of crossings. In particular, choosing a random permutation for the vertices causes each possible crossing to occur with probability 1/3, so the expected number of crossings is within a factor of three of the maximum number of crossings among all possible layouts. Derandomizing this method gives a deterministic approximation algorithm with approximation ratio three.[20]
Other optimization criteria
Along with crossings, circular versions of problems of optimizing the lengths of edges in a circular layout, the angular resolution of the crossings, or the cutwidth (the maximum number of edges that connects one arc of the circle to the opposite arc) have also been considered,[21] but many of these problems are NP-complete.[22]
See also
External links
Notes
- ↑ (Doğrusöz Madden).
- ↑ (Becker Rojas).
- ↑ (Pisanski Servatius).
- ↑ (Doğrusöz Madden); (Six Tollis).
- ↑ (Symeonidis Tollis).
- ↑ (Krebs 1996).
- ↑ (Doğrusöz Belviranli).
- ↑ (Iragne Nikolski).
- ↑ (Huang Hong).
- ↑ (Six Tollis).
- ↑ 11.0 11.1 (Duncan Eppstein).
- ↑ 12.0 12.1 (Gansner Koren).
- ↑ (Six Tollis); (Baur Brandes).
- ↑ (Baur Brandes).
- ↑ (Masuda Kashiwabara).
- ↑ (Mäkinen 1988); (Doğrusöz Madden); (Six Tollis); (He Sýkora); (Baur Brandes).
- ↑ (Verbitsky 2008).
- ↑ (Mäkinen 1988); (Gansner Koren); (Nguyen Eades); (Dehkordi Nguyen).
- ↑ (Mäkinen 1988).
References
- "Expander flows, geometric embeddings and graph partitioning", Journal of the ACM 56 (2): A5:1–A5:37, 2009, doi:10.1145/1502793.1502794, https://people.eecs.berkeley.edu/~vazirani/pubs/arvfull.pdf
- Baur, Michael (2005), "Crossing reduction in circular layouts", in van Leeuwen, Jan, Graph-Theoretic Concepts in Computer Science: 30th International Workshop, WG 2004, Bad Honnef, Germany, June 21-23, 2004, Revised Papers, Lecture Notes in Computer Science, 3353, Springer, pp. 332–343, doi:10.1007/978-3-540-30559-0_28, https://publikationen.bibliothek.kit.edu/1000001244/1027 .
- Becker, Moritz Y.; Rojas, Isabel (2001), "A graph layout algorithm for drawing metabolic pathways", Bioinformatics 17 (5): 461–467, doi:10.1093/bioinformatics/17.5.461, PMID 11331241 .
- Dehkordi, Hooman Reisi; Nguyen, Quan (2013), "Circular graph drawings with large crossing angles", Algorithms and Computation: 7th International Workshop, WALCOM 2013, Kharagpur, India, February 14-16, 2013, Proceedings, Lecture Notes in Computer Science, 7748, Springer, pp. 298–309, doi:10.1007/978-3-642-36065-7_28 .
- Doğrusöz, Uğur; Belviranli, M.; Dilek, A. (2012), "CiSE: A circular spring embedder layout algorithm", IEEE Transactions on Visualization and Computer Graphics 19 (6): 953–966, doi:10.1109/TVCG.2012.178, PMID 23559509 .
- Doğrusöz, Uğur; Madden, Brendan; Madden, Patrick (1997), "Circular layout in the Graph Layout toolkit", Graph Drawing: Symposium on Graph Drawing, GD '96, Berkeley, California, USA, September 18–20, 1996, Proceedings, Lecture Notes in Computer Science, 1190, Springer, pp. 92–100, doi:10.1007/3-540-62495-3_40 .
- Duncan, Christian A. (2012), "Lombardi drawings of graphs", Journal of Graph Algorithms and Applications 16 (1): 85–108, doi:10.7155/jgaa.00251 .
- Gansner, Emden R.; Koren, Yehuda (2007), Graph Drawing: 14th International Symposium, GD 2006, Karlsruhe, Germany, September 18-20, 2006, Revised Papers, Lecture Notes in Computer Science, 4372, Springer, pp. 386–398, doi:10.1007/978-3-540-70904-6_37 .
- He, H.; Sýkora, Ondrej (2004), "New circular drawing algorithms", Proceedings of the Workshop on Information Technologies – Applications and Theory (ITAT), Slovakia, September 15-19, https://dspace.lboro.ac.uk/2134/2386 .
- Huang, Weidong (2007), "Effects of sociogram drawing conventions and edge crossings in social network visualization", Journal of Graph Algorithms and Applications 11 (2): 397–429, doi:10.7155/jgaa.00152 .
- Iragne, Florian; Nikolski, Macha; Mathieu, Bertrand; Auber, David; Sherman, David (2005), "ProViz: protein interaction visualization and exploration", Bioinformatics 21 (2): 272–274, doi:10.1093/bioinformatics/bth494, PMID 15347570 .
- Krebs, Valdis (1996), "Visualizing human networks", Release 1.0: Esther Dyson's Monthly Report 2-96, http://www.orgnet.com/Release1.0-0296.pdf .
- Mäkinen, Erkki (1988), "On circular layouts", International Journal of Computer Mathematics 24 (1): 29–37, doi:10.1080/00207168808803629 .
- Masuda, S.; Kashiwabara, T.; Nakajima, K.; Fujisawa, T. (1987), "On the NP-completeness of a computer network layout problem", Proceedings of the IEEE International Symposium on Circuits and Systems, pp. 292–295 . As cited by (Baur Brandes).
- Nguyen, Quan (2011), "Large crossing angles in circular layouts", Graph Drawing: 18th International Symposium, GD 2010, Konstanz, Germany, September 21-24, 2010, Revised Selected Papers, Lecture Notes in Computer Science, 6502, Springer, pp. 397–399, doi:10.1007/978-3-642-18469-7_40 .
- "2.3.2 Cubic graphs and LCF notation", Configurations from a Graphical Viewpoint, Springer, 2013, p. 32, ISBN 9780817683641, https://books.google.com/books?id=bnh2zkuTZr4C&pg=PA32 .
- Shahrokhi, Farhad; Sýkora, Ondrej; Székely, László A.; Vrt'o, Imrich (1995), "Book embeddings and crossing numbers", Graph-Theoretic Concepts in Computer Science: 20th International Workshop, WG '94, Herrsching, Germany, June 16–18, 1994, Proceedings, Lecture Notes in Computer Science, 903, Springer, pp. 256–268, doi:10.1007/3-540-59071-4_53 .
- "Cut problems and their application to divide-and-conquer", Approximation Algorithms for NP-hard Problems, PWS Publishing, 1997, pp. 192–235, https://people.orie.cornell.edu/shmoys/pdf/multicut.pdf
- Six, Janet M.; Tollis, Ioannis G. (1999a), "Circular drawings of biconnected graphs", Algorithm Engineering and Experimentation: International Workshop ALENEX'99, Baltimore, MD, USA, January 15–16, 1999, Selected Papers, Lecture Notes in Computer Science, 1619, Springer, pp. 57–73, doi:10.1007/3-540-48518-X_4 .
- Six, Janet M.; Tollis, Ioannis G. (1999b), "A framework for circular drawings of networks", Graph Drawing: 7th International Symposium, GD'99, Štiřín Castle, Czech Republic, September 15–19, 1999, Proceedings, Lecture Notes in Computer Science, 1731, Springer, pp. 107–116, doi:10.1007/3-540-46648-7_11 .
- Symeonidis, Alkiviadis; Tollis, Ioannis G. (2004), "Visualization of biological information with circular drawings", Biological and Medical Data Analysis: 5th International Symposium, ISBMDA 2004, Barcelona, Spain, November 18-19, 2004, Proceedings, Lecture Notes in Computer Science, 3337, Springer, pp. 468–478, doi:10.1007/978-3-540-30547-7_47 .
- Verbitsky, Oleg (2008), "On the obfuscation complexity of planar graphs", Theoretical Computer Science 396 (1–3): 294–300, doi:10.1016/j.tcs.2008.02.032 .
| Original source: https://en.wikipedia.org/wiki/Circular layout. Read more |