Circular layout

{{Short description|Graph drawing with vertices on a circle}}

File:Chvatal Lombardi.svg]]

File:BGP FSM 3.svg for the border gateway protocol]]

File:Barabasi Albert model.gif of social network formation]]

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,{{harvtxt|Doğrusöz|Madden|Madden|1997}}. and for the cyclic parts of metabolic networks.{{harvtxt|Becker|Rojas|2001}}. 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.{{harvtxt|Pisanski|Servatius|2013}}.

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,{{harvtxt|Doğrusöz|Madden|Madden|1997}}; {{harvtxt|Six|Tollis|1999b}}. clusters of genes in a gene interaction graph,{{harvtxt|Symeonidis|Tollis|2004}}. or natural subgroups within a social network.{{harvtxt|Krebs|1996}}. If multiple vertex circles are used in this way, other methods such as force-directed graph drawing may be used to arrange the clusters.{{harvtxt|Doğrusöz|Belviranli|Dilek|2012}}.

One advantage of a circular layout in some of these applications, such as bioinformatics or social network visualization, is its neutrality:{{harvtxt|Iragne|Nikolski|Mathieu|Auber|2005}}. 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.{{harvtxt|Huang|Hong|Eades|2007}}.

Edge style

The edges of the drawing may be depicted as chords of the circle,{{harvtxt|Six|Tollis|1999a}}. as circular arcs (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.{{harvtxt|Gansner|Koren|2007}}.

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 {{harvtxt|Gansner|Koren|2007}} uses edge bundling within the circle, together with some edges that are not bundled, drawn outside the circle.

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.{{harvtxt|Duncan|Eppstein|Goodrich|Kobourov|2012}}.

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.{{harvtxt|Six|Tollis|1999a}}; {{harvtxt|Baur|Brandes|2005}}. 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.{{harvtxt|Baur|Brandes|2005}}. In general, minimizing the number of crossings is NP-complete.{{harvtxt|Masuda|Kashiwabara|Nakajima|Fujisawa|1987}}.

{{harvtxt|Shahrokhi|Sýkora|Székely|Vrt'o|1995}} 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 G with n vertices, is

O\Bigl(\bigl(\rho\log n\bigr)^2\cdot\bigl(C+\sum_{v\in V(G)}\deg(v)^2\bigr)\Bigr),

where C is the optimal number of crossings and \rho is the approximation ratio of the balanced cut algorithm used by this layout method.{{sfnp|Shahrokhi|Sýkora|Székely|Vrt'o|1995}} Their work cites a paper by Fan Chung and Shing-Tung Yau from 1994 that claimed \rho=O(1), but this was later found to have an erroneous proof.{{sfnp|Shmoys|1997}} Instead, the best approximation known for the balanced cut problem has \rho=O(\sqrt{\log n}),{{sfnp|Arora|Rao|Vazirani|2009}} giving this circular layout algorithm an approximation ratio of O(\log^3 n) 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.{{harvtxt|Mäkinen|1988}}; {{harvtxt|Doğrusöz|Madden|Madden|1997}}; {{harvtxt|Six|Tollis|1999a}}; {{harvtxt|He|Sýkora|2004}}; {{harvtxt|Baur|Brandes|2005}}. 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.{{harvtxt|Verbitsky|2008}}.

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,{{harvtxt|Mäkinen|1988}}; {{harvtxt|Gansner|Koren|2007}}; {{harvtxt|Nguyen|Eades|Hong|Huang|2011}}; {{harvtxt|Dehkordi|Nguyen|Eades|Hong|2013}}. but many of these problems are NP-complete.{{harvtxt|Mäkinen|1988}}.

See also

Notes

{{reflist}}

References

{{refbegin}}

  • {{citation

| last1 = Arora | first1 = Sanjeev | author1-link = Sanjeev Arora

| last2 = Rao | first2 = Satish | author2-link = Satish Rao

| last3 = Vazirani | first3 = Umesh | author3-link = Umesh Vazirani

| doi = 10.1145/1502793.1502794

| issue = 2

| journal = Journal of the ACM

| mr = 2535878

| page = A5:1–A5:37

| title = Expander flows, geometric embeddings and graph partitioning

| url = https://people.eecs.berkeley.edu/~vazirani/pubs/arvfull.pdf

| volume = 56

| year = 2009| s2cid = 52151977 }}

  • {{citation

| last1 = Baur | first1 = Michael

| last2 = Brandes | first2 = Ulrik | author2-link = Ulrik Brandes

| editor-last = van Leeuwen | editor-first = Jan

| contribution = Crossing reduction in circular layouts

| doi = 10.1007/978-3-540-30559-0_28

| pages = 332–343

| publisher = Springer

| series = Lecture Notes in Computer Science

| title = Graph-Theoretic Concepts in Computer Science: 30th International Workshop, WG 2004, Bad Honnef, Germany, June 21-23, 2004, Revised Papers

| volume = 3353

| year = 2005| url = https://publikationen.bibliothek.kit.edu/1000001244/1027

}}.

  • {{citation

| last1 = Becker | first1 = Moritz Y.

| last2 = Rojas | first2 = Isabel

| doi = 10.1093/bioinformatics/17.5.461

| issue = 5

| journal = Bioinformatics

| pages = 461–467

| title = A graph layout algorithm for drawing metabolic pathways

| volume = 17

| year = 2001| pmid = 11331241

| doi-access = free

}}.

  • {{citation

| last1 = Dehkordi | first1 = Hooman Reisi

| last2 = Nguyen | first2 = Quan

| last3 = Eades | first3 = Peter | author3-link = Peter Eades

| last4 = Hong | first4 = Seok-Hee | author4-link = Seok-Hee Hong

| contribution = Circular graph drawings with large crossing angles

| doi = 10.1007/978-3-642-36065-7_28

| pages = 298–309

| publisher = Springer

| series = Lecture Notes in Computer Science

| title = Algorithms and Computation: 7th International Workshop, WALCOM 2013, Kharagpur, India, February 14-16, 2013, Proceedings

| volume = 7748

| year = 2013}}.

  • {{citation

| last1 = Doğrusöz | first1 = Uğur

| last2 = Belviranli | first2 = M.

| last3 = Dilek | first3 = A.

| doi = 10.1109/TVCG.2012.178

| journal = IEEE Transactions on Visualization and Computer Graphics

| title = CiSE: A circular spring embedder layout algorithm

| year = 2012| volume = 19

| issue = 6

| pages = 953–966

| pmid = 23559509

| hdl = 11693/21006

| s2cid = 14365664

| hdl-access = free

}}.

  • {{citation

| last1 = Doğrusöz | first1 = Uğur

| last2 = Madden | first2 = Brendan

| last3 = Madden | first3 = Patrick

| contribution = Circular layout in the Graph Layout toolkit

| doi = 10.1007/3-540-62495-3_40

| pages = 92–100

| publisher = Springer

| series = Lecture Notes in Computer Science

| title = Graph Drawing: Symposium on Graph Drawing, GD '96, Berkeley, California, USA, September 18–20, 1996, Proceedings

| volume = 1190

| year = 1997| doi-access = free

}}.

  • {{citation

| last1 = Duncan | first1 = Christian A.

| last2 = Eppstein | first2 = David | author2-link = David Eppstein

| last3 = Goodrich | first3 = Michael T. | author3-link = Michael T. Goodrich

| last4 = Kobourov | first4 = Stephen G.

| last5 = Nöllenburg | first5 = Martin

| arxiv = 1009.0579

| doi = 10.7155/jgaa.00251

| issue = 1

| journal = Journal of Graph Algorithms and Applications

| pages = 85–108

| title = Lombardi drawings of graphs

| volume = 16

| year = 2012| s2cid = 5000926

}}.

  • {{citation

| last1 = Gansner | first1 = Emden R.

| last2 = Koren | first2 = Yehuda

| doi = 10.1007/978-3-540-70904-6_37

| pages = 386–398

| publisher = Springer

| series = Lecture Notes in Computer Science

| title = Graph Drawing: 14th International Symposium, GD 2006, Karlsruhe, Germany, September 18-20, 2006, Revised Papers

| volume = 4372

| year = 2007| doi-access = free

}}.

  • {{citation

| last1 = He | first1 = H.

| last2 = Sýkora | first2 = Ondrej

| contribution = New circular drawing algorithms

| title = Proceedings of the Workshop on Information Technologies – Applications and Theory (ITAT), Slovakia, September 15-19

| url = https://dspace.lboro.ac.uk/2134/2386

| year = 2004}}.

  • {{citation

| last1 = Huang | first1 = Weidong

| last2 = Hong | first2 = Seok-Hee | author2-link = Seok-Hee Hong

| last3 = Eades | first3 = Peter | author3-link = Peter Eades

| doi = 10.7155/jgaa.00152

| issue = 2

| journal = Journal of Graph Algorithms and Applications

| pages = 397–429

| title = Effects of sociogram drawing conventions and edge crossings in social network visualization

| volume = 11

| year = 2007| doi-access = free

}}.

  • {{citation

| last1 = Iragne | first1 = Florian

| last2 = Nikolski | first2 = Macha

| last3 = Mathieu | first3 = Bertrand

| last4 = Auber | first4 = David

| last5 = Sherman | first5 = David

| doi = 10.1093/bioinformatics/bth494

| issue = 2

| journal = Bioinformatics

| pages = 272–274

| title = ProViz: protein interaction visualization and exploration

| volume = 21

| year = 2005| pmid = 15347570

| doi-access = free

}}.

  • {{citation

| last = Krebs | first = Valdis

| journal = Release 1.0: Esther Dyson's Monthly Report

| title = Visualizing human networks

| url = http://www.orgnet.com/Release1.0-0296.pdf

| volume = 2-96

| year = 1996}}.

  • {{citation

| last = Mäkinen | first = Erkki

| doi = 10.1080/00207168808803629

| issue = 1

| journal = International Journal of Computer Mathematics

| pages = 29–37

| title = On circular layouts

| volume = 24

| year = 1988}}.

  • {{citation

| last1 = Masuda | first1 = S.

| last2 = Kashiwabara | first2 = T.

| last3 = Nakajima | first3 = K.

| last4 = Fujisawa | first4 = T.

| contribution = On the NP-completeness of a computer network layout problem

| pages = 292–295

| title = Proceedings of the IEEE International Symposium on Circuits and Systems

| year = 1987}}. As cited by {{harvtxt|Baur|Brandes|2005}}.

  • {{citation

| last1 = Nguyen | first1 = Quan

| last2 = Eades | first2 = Peter | author2-link = Peter Eades

| last3 = Hong | first3 = Seok-Hee | author3-link = Seok-Hee Hong

| last4 = Huang | first4 = Weidong

| contribution = Large crossing angles in circular layouts

| doi = 10.1007/978-3-642-18469-7_40

| pages = 397–399

| publisher = Springer

| series = Lecture Notes in Computer Science

| title = Graph Drawing: 18th International Symposium, GD 2010, Konstanz, Germany, September 21-24, 2010, Revised Selected Papers

| volume = 6502

| year = 2011| doi-access = free

}}.

  • {{citation

| last1 = Pisanski | first1 = Tomaž | author1-link = Tomaž Pisanski

| last2 = Servatius | first2 = Brigitte | author2-link = Brigitte Servatius

| contribution = 2.3.2 Cubic graphs and LCF notation

| isbn = 9780817683641

| page = 32

| publisher = Springer

| title = Configurations from a Graphical Viewpoint

| url = https://books.google.com/books?id=bnh2zkuTZr4C&pg=PA32

| year = 2013}}.

  • {{citation

| last1 = Shahrokhi | first1 = Farhad

| last2 = Sýkora | first2 = Ondrej

| last3 = Székely | first3 = László A.

| last4 = Vrt'o | first4 = Imrich

| contribution = Book embeddings and crossing numbers

| doi = 10.1007/3-540-59071-4_53

| pages = 256–268

| publisher = Springer

| series = Lecture Notes in Computer Science

| title = Graph-Theoretic Concepts in Computer Science: 20th International Workshop, WG '94, Herrsching, Germany, June 16–18, 1994, Proceedings

| volume = 903

| year = 1995}}.

  • {{citation

| last = Shmoys | first = David B. | author-link = David Shmoys

| editor-last = Hochbaum | editor-first = Dorit | editor-link = Dorit Hochbaum

| contribution = Cut problems and their application to divide-and-conquer

| contribution-url = https://people.orie.cornell.edu/shmoys/pdf/multicut.pdf

| pages = 192–235

| publisher = PWS Publishing

| title = Approximation Algorithms for NP-hard Problems

| year = 1997}}

  • {{citation

| last1 = Six | first1 = Janet M.

| last2 = Tollis | first2 = Ioannis G.

| contribution = Circular drawings of biconnected graphs

| doi = 10.1007/3-540-48518-X_4

| pages = 57–73

| publisher = Springer

| series = Lecture Notes in Computer Science

| title = Algorithm Engineering and Experimentation: International Workshop ALENEX'99, Baltimore, MD, USA, January 15–16, 1999, Selected Papers

| volume = 1619

| year = 1999a}}.

  • {{citation

| last1 = Six | first1 = Janet M.

| last2 = Tollis | first2 = Ioannis G.

| contribution = A framework for circular drawings of networks

| doi = 10.1007/3-540-46648-7_11

| pages = 107–116

| publisher = Springer

| series = Lecture Notes in Computer Science

| title = Graph Drawing: 7th International Symposium, GD'99, Štiřín Castle, Czech Republic, September 15–19, 1999, Proceedings

| volume = 1731

| year = 1999b| doi-access = free

}}.

  • {{citation

| last1 = Symeonidis | first1 = Alkiviadis

| last2 = Tollis | first2 = Ioannis G.

| contribution = Visualization of biological information with circular drawings

| doi = 10.1007/978-3-540-30547-7_47

| pages = 468–478

| publisher = Springer

| series = Lecture Notes in Computer Science

| title = Biological and Medical Data Analysis: 5th International Symposium, ISBMDA 2004, Barcelona, Spain, November 18-19, 2004, Proceedings

| volume = 3337

| year = 2004}}.

  • {{citation

| last = Verbitsky | first = Oleg

| arxiv = 0705.3748

| doi = 10.1016/j.tcs.2008.02.032

| issue = 1–3

| journal = Theoretical Computer Science

| mr = 2412266

| pages = 294–300

| title = On the obfuscation complexity of planar graphs

| volume = 396

| year = 2008| s2cid = 5948167

}}.

{{refend}}

Category:Graph drawing

Category:Circles