Crossings in clustered level graphs

Clustered graphs are an enhanced graph model with a recursive clustering of the vertices according to a given nesting relation. This prime technique for expressing coherence of certain parts of the graph is used in many applications, such as biochemical pathways and UML class diagrams. For directed clustered graphs usually level drawings are used, leading to clustered level graphs. In this thesis we analyze the interrelation of clusters and levels and their influence on edge crossings and cluster/edge crossings. We present a new method for the application of two-level crossing reduction algorithms to clustered level graphs. Our approach is optimal in the sense that it does not introduce unnecessary crossings, and therefore produces fewer crossings as previous results. In contrast to other approaches, our extension scheme retains the optimality of a one-sided two-level crossing reduction algorithm when extended to clustered level graphs. We also give a new algorithm for constrained one-sided two-level crossing reduction in level graphs, which appears as a subproblem in clustered crossing reduction. Here, the relative position of some vertex pairs on the second level is fixed. Based on the barycenter heuristic, we present a new algorithm that runs in quadratic time and generates fewer crossings than existing simple extensions. It is significantly faster than previous advanced algorithms, while it compares well in terms of crossing number and is easy to implement. Minimizing crossings also leads to the concept of planarity. Planar drawings are easy to understand and thus preferable to non-planar drawings. Variations of planarity have been studied intensively for level graphs and clustered graphs. We combine these concepts and analyze a new problem: clustered level planarity. We give an efficient algorithm that decides clustered level planarity of elementary clustered level graphs and computes a clustered level embedding, if one exists.

[1]  Frank Harary DETERMINANTS, PERMANENTS AND BIPARTITE GRAPHS, , 1969 .

[2]  Ugur Dogrusöz,et al.  A Constrained, Force-Directed Layout Algorithm for Biological Pathways , 2003, Graph Drawing.

[3]  Robert F. Cohen,et al.  How to Draw a Planar Clustered Graph , 1995, COCOON.

[4]  Edward M. Reingold,et al.  Tidier Drawings of Trees , 1981, IEEE Transactions on Software Engineering.

[5]  Oliver Bastert,et al.  Layered Drawings of Digraphs , 1999, Drawing Graphs.

[6]  E. Mäkinen,et al.  Genetic algorithms for drawing bipartite graphs , 1994 .

[7]  Walter F. Tichy,et al.  Edge: An extendible graph editor , 1990, Softw. Pract. Exp..

[8]  Falk Schreiber,et al.  The system architecture of the BioPath system , 2002, Silico Biol..

[9]  Michael Forster,et al.  Clustered Level Planarity , 2004, SOFSEM.

[10]  Falk Schreiber,et al.  BioPath - Exploration and Visualization of Biochemical Pathways , 2004, Graph Drawing Software.

[11]  Lawrence A. Rowe,et al.  A browser for directed graphs , 1987, Softw. Pract. Exp..

[12]  Ivan Herman,et al.  DAG Drawing from an Information Visualization Perspective , 1999, VisSym.

[13]  David Eppstein,et al.  Journal of Graph Algorithms and Applications Confluent Drawings: Visualizing Non-planar Diagrams in a Planar Way , 2022 .

[14]  Ioannis G. Tollis,et al.  Constrained Visibility Representations of Graphs , 1992, Inf. Process. Lett..

[15]  Timo Hickl Rechtwinkliges Layout von hierarchisch strukurierten Graphen , 1995 .

[16]  David S. Johnson,et al.  Crossing Number is NP-Complete , 1983 .

[17]  John Q. Walker,et al.  A node‐positioning algorithm for general trees , 1990, Softw. Pract. Exp..

[18]  K. Wagner Bemerkungen zum Vierfarbenproblem. , 1936 .

[19]  Patrick Healy,et al.  The Vertex-Exchange Graph: A New Concept for Multi-level Crossing Minimisation , 1999, GD.

[20]  John M. Boyer,et al.  Stop minding your p's and q's: a simplified O(n) planar embedding algorithm , 1999, SODA '99.

[21]  Carsten Friedrich,et al.  Flexible Layering in Hierarchical Drawings with Nodes of Arbitrary Size , 2004, ACSC.

[22]  Rafael Martí,et al.  Arc crossing minimization in hierarchical digraphs with tabu search , 1997, Comput. Oper. Res..

[23]  Erhard Godehardt,et al.  Graphs as Structural Models , 1988 .

[24]  Marek Chrobak,et al.  A Linear-Time Algorithm for Drawing a Planar Graph on a Grid , 1995, Inf. Process. Lett..

[25]  Tiziana Catarci,et al.  The assignment heuristic for crossing reduction , 1995, IEEE Trans. Syst. Man Cybern..

[26]  Vladimir Batagelj,et al.  Automatic clustering of languages , 1992 .

[27]  János Pach,et al.  Small sets supporting fary embeddings of planar graphs , 1988, STOC '88.

[28]  G. Kant Algorithms for drawing planar graphs , 1993 .

[29]  Carolyn McCreary,et al.  Clan-Based Incremental Drawing , 2000, Graph Drawing.

[30]  Xuemin Lin,et al.  A heuristic for the feedback arc set problem , 1995, Australas. J Comb..

[31]  Georg Sander,et al.  A Fast Heuristic for Hierarchical Manhattan Layout , 1995, GD.

[32]  Hiroshi Nagamochi,et al.  Convex Drawing for c-Planar Biconnected Clustered Graphs , 2003, Graph Drawing.

[33]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[34]  Brendan D. McKay,et al.  On an edge crossing problem , 1986 .

[35]  Dieter Kratsch,et al.  Graph-Theoretic Concepts in Computer Science , 1987, Lecture Notes in Computer Science.

[36]  Rafael Martí,et al.  Heuristics and Meta-heuristics for 2-layer Straight Line Crossing Minimization , 2003, Discret. Appl. Math..

[37]  Helen C. Purchase,et al.  Which Aesthetic has the Greatest Effect on Human Understanding? , 1997, GD.

[38]  Roberto Tamassia,et al.  Algorithms for Plane Representations of Acyclic Digraphs , 1988, Theor. Comput. Sci..

[39]  Ulrik Brandes,et al.  Fast and Simple Horizontal Coordinate Assignment , 2001, GD.

[40]  Helen C. Purchase,et al.  Metrics for Graph Drawing Aesthetics , 2002, J. Vis. Lang. Comput..

[41]  Matthias F. Stallmann,et al.  Heuristics and Experimental Design for Bigraph Crossing Number Minimization , 1999, ALENEX.

[42]  Norishige Chiba,et al.  A Linear Algorithm for Embedding Planar Graphs Using PQ-Trees , 1985, J. Comput. Syst. Sci..

[43]  Robert E. Tarjan,et al.  Rectilinear planar layouts and bipolar orientations of planar graphs , 1986, Discret. Comput. Geom..

[44]  Bonnie Berger,et al.  Approximation alogorithms for the maximum acyclic subgraph problem , 1990, SODA '90.

[45]  Georg Sander Visualisierungstechniken für den Compilerbau , 1996, Ausgezeichnete Informatikdissertationen.

[46]  S. G. Williamson,et al.  Embedding Graphs in the Plane—Algorithmic Aspects , 1980 .

[47]  Paul Molitor,et al.  Using Sifting for k -Layer Straightline Crossing Minimization , 1999, GD.

[48]  G. W. Furnas,et al.  Generalized fisheye views , 1986, CHI '86.

[49]  Carlo Batini,et al.  Automatic graph drawing and readability of diagrams , 1988, IEEE Trans. Syst. Man Cybern..

[50]  Michael Jünger,et al.  Exact and Heuristic Algorithms for 2-Layer Straightline Crossing Minimization , 1995, GD.

[51]  Peter Eades,et al.  Edge crossings in drawings of bipartite graphs , 1994, Algorithmica.

[52]  Michael J. Pelsmajer,et al.  Train Tracks and Confluent Drawings , 2006, Algorithmica.

[53]  Peter Eades,et al.  Drawing Clustered Graphs on an Orthogonal Grid , 1997, J. Graph Algorithms Appl..

[54]  Michael T. Goodrich,et al.  Range Searching Over Tree Cross Products , 2000, ESA.

[55]  Erkki Mäkinen,et al.  Experiments on drawing 2-level hierarchical graphs , 1990, Int. J. Comput. Math..

[56]  Ivar Jacobson,et al.  The unified modeling language reference manual , 2010 .

[57]  Lenwood S. Heath,et al.  Stack and Queue Layouts of Directed Acyclic Graphs: Part I , 1999, SIAM J. Comput..

[58]  Erich Bornberg-Bauer,et al.  BioMiner - modeling, analyzing, and visualizing biochemical pathways and networks , 2002, ECCB.

[59]  Richard Rudell Dynamic variable ordering for ordered binary decision diagrams , 1993, ICCAD.

[60]  Roberto Tamassia,et al.  A unified approach to visibility representations of planar graphs , 1986, Discret. Comput. Geom..

[61]  Roberto Tamassia,et al.  An Algorithm for Drawing a Hierarchical Graph , 1996, Int. J. Comput. Geom. Appl..

[62]  S. Dresbach A New Heuristic Layout Algorithm for Directed Acyclic Graphs , 1994 .

[63]  Tao Lin,et al.  Two Tree Drawing Conventions , 1993, Int. J. Comput. Geom. Appl..

[64]  Michael Kaufmann,et al.  An Efficient Implementation of Sugiyama's Algorithm for Layered Graph Drawing , 2004, J. Graph Algorithms Appl..

[65]  Wei-Kuan Shih,et al.  A New Planarity Test , 1999, Theor. Comput. Sci..

[66]  Lenwood S. Heath,et al.  Stack and Queue Layouts of Directed Acyclic Graphs: Part II , 1999, SIAM J. Comput..

[67]  Irene Finocchi Layered Drawings of Graphs with Crossing Constraints , 2001, COCOON.

[68]  Bernd Becker,et al.  k-Layer Straightline Crossing Minimization by Speeding Up Sifting , 2000, Graph Drawing.

[69]  David Harel,et al.  On visual formalisms , 1988, CACM.

[70]  Walter Didimo,et al.  Planarization of Clustered Graphs (Extended Abstract) , 2002 .

[71]  Akihiro Sugimoto,et al.  An Approximation Algorithm for the Two-Layered Graph Drawing Problem , 1999, COCOON.

[72]  Marie-Jose Carpano,et al.  Automatic Display of Hierarchized Graphs for Computer-Aided Decision Analysis , 1980, IEEE Transactions on Systems, Man, and Cybernetics.

[73]  Stephen G. Kobourov,et al.  Visualizing Large Graphs with Compound-Fisheye Views and Treemaps , 2004, GD.

[74]  David Harel,et al.  An Algorithm for Straight-Line Drawing of Planar Graphs , 1995, Algorithmica.

[75]  Michael Jünger,et al.  A Fast Layout Algorithm for k-Level Graphs , 2000, Graph Drawing.

[76]  David Grove,et al.  A Framework for Selective Recompilation in the Presence of Complex Intermodule Dependencies , 1995, 1995 17th International Conference on Software Engineering.

[77]  G. Battista,et al.  Hierarchies and planarity theory , 1988, IEEE Trans. Syst. Man Cybern..

[78]  Arno Formella,et al.  Generalized Fisheye Views of Graphs , 1995, Graph Drawing.

[79]  Anusch Taraz,et al.  On the Maximum Planar Subgraph Problem , 1996 .

[80]  Michael Jünger,et al.  Journal of Graph Algorithms and Applications 2-layer Straightline Crossing Minimization: Performance of Exact and Heuristic Algorithms , 2022 .

[81]  Michael Jünger,et al.  Improving Walker's Algorithm to Run in Linear Time , 2002, GD.

[82]  Giuseppe Liotta,et al.  On the Parameterized Complexity of Layered Graph Drawing , 2001, Algorithmica.

[83]  David Harel,et al.  Statecharts: A Visual Formalism for Complex Systems , 1987, Sci. Comput. Program..

[84]  Walter Schnyder,et al.  Embedding planar graphs on the grid , 1990, SODA '90.

[85]  J. Davenport Editor , 1960 .

[86]  M. Watkins,et al.  A SPECIAL CROSSING NUMBER FOR BIPARTITE GRAPHS: A RESEARCH PROBLEM , 1970 .

[87]  Michael Jünger,et al.  Simple and Efficient Bilayer Cross Counting , 2002, J. Graph Algorithms Appl..

[88]  Petra Mutzel,et al.  An Alternative Method to Crossing Minimization on Hierarchical Graphs , 1996, GD.

[89]  Peter D. Karp,et al.  Automated Drawing of Metabolic Pathways , 2000 .

[90]  Xuemin Lin On the computational complexity of edge concentration , 2000, Discret. Appl. Math..

[91]  Isabel Rojas,et al.  A graph layout algorithm for drawing metabolic pathways , 2001, Bioinform..

[92]  R. Martí,et al.  A branch and bound algorithm for minimizing the number of crossing arcs in bipartite graphs , 1996 .

[93]  Marcus Raitner,et al.  Visual Navigation of Compound Graphs , 2004, GD.

[94]  Manfred Nagl,et al.  Graph-Grammars and Their Application to Computer Science , 1982, Lecture Notes in Computer Science.

[95]  Charles Wetherell,et al.  Tidy Drawings of Trees , 1979, IEEE Transactions on Software Engineering.

[96]  Franz-Josef Brandenburg,et al.  Layout Graph Grammars: The Placement Approach , 1990, Graph-Grammars and Their Application to Computer Science.

[97]  Roberto Tamassia,et al.  On-Line Planarity Testing , 1989, SIAM J. Comput..

[98]  Mattias Werner,et al.  The Graph Visualization System daVinci - A User Interface for Applications , 1994 .

[99]  Vance E. Waddle,et al.  An E log E Line Crossing Algorithm for Levelled Graphs , 1999, Graph Drawing.

[100]  Thomas Lengauer,et al.  Combinatorial algorithms for integrated circuit layout , 1990, Applicable theory in computer science.

[101]  Kozo Sugiyama Graph Drawing and Applications for Software and Knowledge Engineers , 2002, Series on Software Engineering and Knowledge Engineering.

[102]  Mitsuhiko Toda,et al.  Methods for Visual Understanding of Hierarchical System Structures , 1981, IEEE Transactions on Systems, Man, and Cybernetics.

[103]  Michael Kaufmann,et al.  Drawing graphs: methods and models , 2001 .

[104]  Manojit Sarkar,et al.  Graphical fisheye views , 1994, CACM.

[105]  Michael Jünger,et al.  Advances in C-Planarity Testing of Clustered Graphs , 2002, Graph Drawing.

[106]  Sabine Cornelsen,et al.  Drawing Clusters and Hierarchies , 1999, Drawing Graphs.

[107]  Robert E. Tarjan,et al.  Efficient Planarity Testing , 1974, JACM.

[108]  Rafael Martí,et al.  GRASP and Path Relinking for 2-Layer Straight Line Crossing Minimization , 1999, INFORMS J. Comput..

[109]  Ulrik Brandes,et al.  Visualizing Related Metabolic Pathways in Two and a Half Dimensions , 2003, GD.

[110]  B. Endoplasmic CHOLESTEROL biosynthesis. , 1957, Nutrition reviews.

[111]  W. T. Tutte Convex Representations of Graphs , 1960 .

[112]  Jeffery R. Westbrook,et al.  Maintaining hierarchical graph views , 2000, SODA '00.

[113]  Frances Paulisch,et al.  The Design of an Extendible Graph Editor , 1993, Lecture Notes in Computer Science.

[114]  Peter Eades,et al.  Journal of Graph Algorithms and Applications Navigating Clustered Graphs Using Force-directed Methods , 2022 .

[115]  Emden R. Gansner,et al.  A Technique for Drawing Directed Graphs , 1993, IEEE Trans. Software Eng..

[116]  Xuemin Lin,et al.  How to draw a directed graph , 1989, [Proceedings] 1989 IEEE Workshop on Visual Languages.

[117]  Ronald L. Graham,et al.  Optimal scheduling for two-processor systems , 1972, Acta Informatica.

[118]  Peter Eades,et al.  The Marey Graph Animation Tool Demo , 2000, GD.

[119]  Michael Jünger,et al.  Level Planar Embedding in Linear Time , 1999, Graph Drawing.

[120]  Tao Lin,et al.  Integration of Declarative and Algorithmic Approaches for Layout Creation , 1994, Graph Drawing.

[121]  Lawrence A. Rowe,et al.  A divide-and-conquer algorithm for the automatic layout of large directed graphs , 1991, IEEE Trans. Syst. Man Cybern..

[122]  Franz-Josef Brandenburg,et al.  Designing Graph Drawings by Layout Graph Grammars , 1994, GD.

[123]  Hiroshi Nagamochi,et al.  Straight-Line Drawing Algorithms for Hierarchical Graphs and Clustered Graphs , 1996, Algorithmica.

[124]  Falk Schreiber,et al.  Comparison of Metabolic Pathways using Constraint Graph Drawing , 2003, APBC.

[125]  Georg Sander,et al.  Graph Layout through the VCG Tool , 1994, GD.

[126]  Wei-Kuan Shih,et al.  A SIMPLE TEST FOR PLANAR GRAPHS , 2003 .

[127]  Dorothea Wagner,et al.  Completely connected clustered graphs , 2006, J. Discrete Algorithms.

[128]  Walter F. Tichy,et al.  Edge: An extendible graph editor , 1990, Softw. Pract. Exp..

[129]  James Abello,et al.  MGV: A System for Visualizing Massive Multidigraphs , 2002, IEEE Trans. Vis. Comput. Graph..

[130]  Peter Eades,et al.  Multilevel Visualization of Clustered Graphs , 1996, GD.

[131]  Camil Demetrescu,et al.  Break the "Right" Cycles and Get the "Best" Drawing , 2000 .

[132]  Falk Schreiber,et al.  BioPath Visualization of Biochemical Pathways , 2001, German Conference on Bioinformatics.

[133]  Hubert de Fraysseix,et al.  A characterization of planar graphs by trémaux orders , 1985, Comb..

[134]  Farhad Shahrokhi,et al.  On Bipartite Drawings and the Linear Arrangement Problem , 2001, SIAM J. Comput..

[135]  Michael Forster,et al.  Applying Crossing Reduction Strategies to Layered Compound Graphs , 2002, GD.

[136]  John Clark,et al.  A First Look at Graph Theory , 1991 .

[137]  Refael Hassin,et al.  Approximations for the Maximum Acyclic Subgraph Problem , 1994, Inf. Process. Lett..

[138]  M. Chrobak,et al.  Convex Grid Drawings of 3-Connected Planar Graphs , 1997, Int. J. Comput. Geom. Appl..

[139]  Kellogg S. Booth,et al.  Testing for the Consecutive Ones Property, Interval Graphs, and Graph Planarity Using PQ-Tree Algorithms , 1976, J. Comput. Syst. Sci..

[140]  Tim Dwyer,et al.  WilmaScope - An Interactive 3D Graph Visualisation System , 2001, Graph Drawing.

[141]  Peter Eades,et al.  Drawing Graphs in Two Layers , 1994, Theor. Comput. Sci..

[142]  M. Chandramouli,et al.  Upward Numbering Testing for Triconnected Graphs , 1995, Graph Drawing.

[143]  Kevin Barraclough,et al.  I and i , 2001, BMJ : British Medical Journal.

[144]  Kozo Sugiyama,et al.  Visualization of structural information: automatic drawing of compound digraphs , 1991, IEEE Trans. Syst. Man Cybern..

[145]  Carolyn McCreary,et al.  CG: a Graph Drawing System Using Graph-Grammar Parsing , 1994, GD.

[146]  Xuemin Lin,et al.  A Fast and Effective Heuristic for the Feedback Arc Set Problem , 1993, Inf. Process. Lett..

[147]  Ioannis G. Tollis,et al.  Journal of Graph Algorithms and Applications a Framework for the Static and Interactive Visualization of Statecharts , 2022 .

[148]  Giuseppe Liotta,et al.  On the Parameterized Complexity of Layered Graph Drawing , 2001, ESA.

[149]  Camil Demetrescu,et al.  Breaking cycles for minimizing crossings , 2001, JEAL.

[150]  Emek Demir,et al.  A Compound Graph Layout Algorithm for Biological Pathways , 2004, GD.

[151]  Pierre Rosenstiehl,et al.  A Depth-First-Search Characterization of Planarity , 1982 .

[152]  Rajeev Motwani,et al.  Representing Graph Metrics with Fewest Edges , 2003, STACS.

[153]  Mirka Miller,et al.  An Algorithm for Drawing Compound Graphs , 1999, GD.

[154]  Elias Dahlhaus,et al.  A Linear Time Algorithm to Recognize Clustered Graphs and Its Parallelization , 1998, LATIN.

[155]  Michael Forster A Fast and Simple Heuristic for Constrained Two-Level Crossing Reduction , 2004, Graph Drawing.

[156]  R. Kaas,et al.  A branch and bound algorithm for the acyclic subgraph problem , 1981 .

[157]  Falk Schreiber,et al.  Visual comparison of metabolic pathways , 2003, J. Vis. Lang. Comput..

[158]  H. S. M. Coxeter,et al.  Vorlesungen über die Theorie der Polyeder , 1935 .

[159]  Michael Forster,et al.  Radial Level Planarity Testing and Embedding in Linear Time , 2003, Graph Drawing.

[160]  János Pach,et al.  How to draw a planar graph on a grid , 1990, Comb..

[161]  Robert E. Tarjan,et al.  Computing an st -Numbering , 1976, Theor. Comput. Sci..

[162]  Marcus Raitner,et al.  Dynamic Tree Cross Products , 2004, ISAAC.

[163]  Peter Eades,et al.  A Fully Animated Interactive System for Clustering and Navigating Huge Graphs , 1998, GD.

[164]  Falk Schreiber,et al.  High quality visualization of biochemical pathways in BioPath , 2002, Silico Biol..

[165]  K. P. Vo,et al.  DAG—a program that draws directed graphs , 1988, Softw. Pract. Exp..

[166]  John N. Warfield,et al.  Crossing Theory and Hierarchy Mapping , 1977, IEEE Transactions on Systems, Man, and Cybernetics.

[167]  Vance E. Waddle,et al.  Graph Layout for Displaying Data Structures , 2000, Graph Drawing.

[168]  Georg Sander,et al.  Layout of compound directed graphs , 1996 .

[169]  Endre Boros,et al.  A Satisfiability Formulation of Problems on Level Graphs , 2001, Electron. Notes Discret. Math..

[170]  Lenwood S. Heath,et al.  Recognizing Leveled-Planar Dags in Linear Time , 1995, Graph Drawing.

[171]  John M. Boyer,et al.  Stop Minding Your P's and Q's: Implementing a Fast and Simple DFS-Based Planarity Testing and Embedding Algorithm , 2003, GD.

[172]  Alvis Brazma,et al.  A Simple Algorithm for Drawing Large Graphs on Small Screens , 1994, Graph Drawing.

[173]  Georg Sander,et al.  Graph Layout for Applications in Compiler Construction , 1999, Theor. Comput. Sci..

[174]  Philip N. Klein,et al.  An efficient parallel algorithm for planarity , 1986, 27th Annual Symposium on Foundations of Computer Science (sfcs 1986).

[175]  Lenwood S. Heath,et al.  Laying out Graphs Using Queues , 1992, SIAM J. Comput..

[176]  Thomas Lengauer,et al.  Hierarchical planarity testing algorithms , 1989, JACM.

[177]  Takao Nishizeki,et al.  Planar Graphs: Theory and Algorithms , 1988 .

[178]  Falk Schreiber,et al.  Visualisierung biochemischer Reaktionsnetze , 2001 .

[179]  Christian Bachmaier,et al.  Track Planarity Testing and Embedding ? , 2004 .

[180]  David Eppstein,et al.  Selected Open Problems in Graph Drawing , 2003, Graph Drawing.

[181]  Michael Jünger,et al.  Level Planarity Testing in Linear Time , 1998, Graph Drawing.

[182]  Stephen C. North,et al.  Online Hierarchical Graph Drawing , 2001, GD.