Planar Upward Tree Drawings with Optimal Area

Total Page:16

File Type:pdf, Size:1020Kb

Planar Upward Tree Drawings with Optimal Area International Journal of Computational Geometry Applications c World Scientic Publishing Company PLANAR UPWARD TREE DRAWINGS WITH OPTIMAL AREA ASHIM GARG Dept of Computer Science Brown University Providence RI USA agcsbrownedu MICHAEL T GOODRICH Dept of Computer Science The Johns Hopkins University Baltimore MD USA goodrichcsjhuedu and ROBERTO TAMASSIA Dept of Computer Science Brown University Providence RI USA rtcsbrownedu Received September Revised February Communicated by JD Boissonnat ABSTRACT Ro oted trees are usually drawn planar and upward ie without crossings and with out any parent placed b elow its child In this pap er weinvestigate the area requirement of planar upward drawings of ro oted trees Wegive tight upp er and lower b ounds on the area of various typ es of drawings and provide lineartime algorithms for constructing optimal area drawings Let T b e a b oundeddegree ro oted tree with N no des Our results are summarized as follows Weshow that T admits a planar p olyline upw ardgriddrawing with area O N and with width O N forany presp ecied constant suchthat If T is a binary tree weshow that T admits a planar orthogonalupward grid drawing with area O N log log N Weshow that if T is ordered it admits an O N log N area planar upward grid drawing that preserves the lefttoright ordering of the children of each no de Weshow that all of the ab ove area b ounds are asymptotically optimal in the worst case We present O N time algorithms for constructing each of the ab ovetyp es of drawings of T with asymptotically optimal area We rep ort on the exp erimentation of our algorithm for constructing planar p oly line upward grid drawings p erformed on trees with up to million no des wing Keywords Graph drawing orthogonal drawing straightline drawing planar dra upward drawing tree area grid Intro duction and Overview The research area of graph drawing establishes a connection b etween computa tional geometry and graph theory The general setting is that we are given a graph G and we wish to pro duce a geometric representation of G that visualizes Gs imp ortant prop erties For example wemay wish to display all the symmetries in G or if G contains a Hamiltonian cycle wemay wish to draw G as a regular p olygon with chords The interest in this area has b een growing signicantly of late see eg the Pro ceedings of Graph Drawing and the annotated bibliography on graph drawing algorithms maintained by Di Battista Eades Tamassia and Tol lis which mentions more than pap ers Imp ortant domains of application for graph drawing algorithms include software engineering pro ject management visual languages and VLSI layout Perhaps the most studied graph drawing problem is that of pro ducing a planar drawing of a planar graph eg see the classic work of Tutte on planar convex drawings and the recent results on planar straightline drawings But there is a variety of other interesting graph drawing problems that are also b eing investigated of late such as representing G by means of visibilitybetween geometric gures in the plane eg and ORourkes computational geometry column or dynamically maintaining a drawing under a sequence of insertions and deletions of vertices and edges as studied byCohenet al The Problem An imp ortant criterion for a drawing of a graph is that it takes up as little area as p ossible This is motivated by the nite resolution of all of our current technologies for rendering a drawing and also by circuitarea optimization criteria in VLSI layout In the following we assume the existence of a resolution rule that implies a nite minimum area for the drawing of any graph A typical resolution rule is to require grid drawings where the vertices and b ends of the edges haveinteger co ordinates Indeed this consideration recently motivated the reexamination of straightline drawings of planar directed graphs b ecause they require exp onentiallylarge area whereas several researchers have recently shown that planar graph drawings require only quadratic area and that suchdrawings Moreover some very nice recentwork by can b e pro duced in linear time Kant shows that a numb er of other aesthetic criteria suchasconvex faces can b e satised for a planar drawing while still keeping the area quadratic In this pap er we study areaecientdrawings of ro oted trees The goal of this researchistodrawanN no de tree T in as little area as p ossible while still maintaining certain aesthetic qualities of the drawing The aesthetic qualities we are particularly interested in are that the drawing b e planar and upward ie that every edge of T be a vertically monotone chain from the child to the parent so that the parent u of a no de v has y co ordinate greater than or equal to the one of v This is the natural way in which ro oted trees are usually drawn to display their hierarchic structure eg see any undergraduate text in data structures The diculty is that most of the known techniques for constructing planar upward drawings of trees require N area in the worst case Previous Work If we relax the upward requirement however then as indep endently shown by Leiserson and Valiant one can construct an O N area planar orthogonal grid drawing of an N no de tree T where the no des are placed at integer grid p oints and the edges follow paths of the grid However Brent and Kung show that if the leaves of an N no de complete binary tree are constrained to b e on the convex hull of the drawing then the drawing needs N log N area Thus a natural question is whether O N area is still achievable for planar upward drawings Crescenzi Di Battista and Pip erno haverecently provided a negative answer to this question for the case of strictly upward grid drawings where the no des haveinteger co ordinates and the parent of a no de has y co ordinate strictly greater than the ones of its children Namely they exhibit a family of binary trees that require N log N area in any strictly upward planar grid drawing This lower b ound is tight within a constant factor Shiloach and Crescenzi Di Battista and Pip erno give lineartime algorithms that construct a strictly upward planar straightline grid drawing of an N no de ro oted tree with O N log N area O N height and O log N width Their result do esnt settle the question for the standard notion of upward draw ing however which allows a child no de to b e on the same horizontal line as its parent as long as it is not ab ove its parent In addition it should b e noted that pro ducing the exact minimization of the area of the drawing of a tree is NPhard under several drawing conventions Nevertheless Crescenzi Di Battista and Pip erno give O N area planar straightline upward grid dra wings of AVL trees They do not however give a general construction for other typ es of trees An hvdrawing of a binary tree has the following prop erties i no des have integer co ordinates iianedgebetween a no de v and its parent u is drawn either as a horizontal segment with u to the left of v orasavertical segment with u ab ove v iii the enclosing rectangles of the drawings of the subtrees ro oted at the children of a no de are disjoint Hence hvdrawings are a sp ecial case of upward planar straight p line drawings Eades Lin and Lin show how to construct in O N N log N time a minimumarea hvdrawing of an N no de binary tree However they do not provide sp ecic b ounds on the area requirementofhvdrawings Related results on the area requirement of visibility representations of trees are given in Our Results In this pap er we show that for any ro oted b oundeddegree tree T with N no des one can construct a planar upward grid drawing of T with O N area in O N time and that suchdrawing can have width O N for any presp ecied constant such that The latter feature provides great exibility to applications that need to t the drawing in a prescrib ed region of the plane We also extend our approach to trees of arbitrary maximum degree d at a small additional cost when d exceeds N for any Our drawings do not preserve the lefttoright ordering of the children in T however But this should not b e surprising for we showthat if one requires a planar upward tree drawing to preserve the lefttoright ordering then the drawing requires at least N log N area in the worst case and we show that this is tight to within a constant factor Our O N area drawing is for the polyline grid mo del where the no des of T are mapp ed to integer grid p oints and the edges of T are mapp ed to p olygonal chains with b ends at grid p oints These p olygonal chains need not follow along grid edges however If one desires suchadrawing then in Section weshow that one can con struct a planar upward orthogonal grid drawing of an N no de binary tree T with O N log log N area in O N time This log log N factor in the area may at rst seem unnatural but wesho wthatitisnotforwegivean N no de binary tree that requires N log log N areaforanyupward orthogonal grid drawing Thus we show that there is an intermediate case b etween the N area achievable for non upward planar orthogonal grid tree drawings and the N log N areaachievable for strictlyupward planar grid drawings or for upward planar grid drawings that preserve the lefttoright order It is also interesting to observethattheupward requirement p enalizes the area less than the requirement of placing the leaves on the same horizontal line for whichtheN log N area b ound also applies We summarize the previous and current b ounds on planar grid tree drawings in Table Drawing Tree
Recommended publications
  • 55 GRAPH DRAWING Emilio Di Giacomo, Giuseppe Liotta, Roberto Tamassia
    55 GRAPH DRAWING Emilio Di Giacomo, Giuseppe Liotta, Roberto Tamassia INTRODUCTION Graph drawing addresses the problem of constructing geometric representations of graphs, and has important applications to key computer technologies such as soft- ware engineering, database systems, visual interfaces, and computer-aided design. Research on graph drawing has been conducted within several diverse areas, includ- ing discrete mathematics (topological graph theory, geometric graph theory, order theory), algorithmics (graph algorithms, data structures, computational geometry, vlsi), and human-computer interaction (visual languages, graphical user interfaces, information visualization). This chapter overviews aspects of graph drawing that are especially relevant to computational geometry. Basic definitions on drawings and their properties are given in Section 55.1. Bounds on geometric and topological properties of drawings (e.g., area and crossings) are presented in Section 55.2. Sec- tion 55.3 deals with the time complexity of fundamental graph drawing problems. An example of a drawing algorithm is given in Section 55.4. Techniques for drawing general graphs are surveyed in Section 55.5. 55.1 DRAWINGS AND THEIR PROPERTIES TYPES OF GRAPHS First, we define some terminology on graphs pertinent to graph drawing. Through- out this chapter let n and m be the number of graph vertices and edges respectively, and d the maximum vertex degree (i.e., number of edges incident to a vertex). GLOSSARY Degree-k graph: Graph with maximum degree d k. ≤ Digraph: Directed graph, i.e., graph with directed edges. Acyclic digraph: Digraph without directed cycles. Transitive edge: Edge (u, v) of a digraph is transitive if there is a directed path from u to v not containing edge (u, v).
    [Show full text]
  • Upward Planar Drawing of Single Source Acyclic
    UPWARD PLANAR DRAWING OF SINGLE SOURCE ACYCLIC DIGRAPHS y z MICHAEL D. HUTTON AND ANNA LUBIW Abstract. An upward plane drawing of a directed acyclic graph is a plane drawing of the digraph in which each directed edge is represented as a curve monotone increasing in the vertical direction. Thomassen [24]hasgiven a non-algorithmic, graph-theoretic characterization of those directed graphs with a single source that admit an upward plane drawing. We present an ecient algorithm to test whether a given single-source acyclic digraph has an upward plane drawing and, if so, to nd a representation of one suchdrawing. This result is made more signi cant in lightofthe recent pro of, by Garg and Tamassia, that the problem is NP-complete for general digraphs [12]. The algorithm decomp oses the digraph into biconnected and triconnected comp onents, and de- nes conditions for merging the comp onents into an upward plane drawing of the original digraph. To handle the triconnected comp onentsweprovide a linear algorithm to test whether a given plane drawing of a single source digraph admits an upward plane drawing with the same faces and outer face, which also gives a simpler, algorithmic pro of of Thomassen's result. The entire testing algo- 2 rithm (for general single-source directed acyclic graphs) op erates in O (n )timeandO (n) space (n b eing the number of vertices in the input digraph) and represents the rst p olynomial time solution to the problem. Key words. algorithms, upward planar, graph drawing, graph emb edding, graph decomp osition, graph recognition, planar graph, directed graph AMS sub ject classi cations.
    [Show full text]
  • 10 GEOMETRIC GRAPH THEORY J´Anos Pach
    10 GEOMETRIC GRAPH THEORY J´anos Pach INTRODUCTION In the traditional areas of graph theory (Ramsey theory, extremal graph theory, random graphs, etc.), graphs are regarded as abstract binary relations. The relevant methods are often incapable of providing satisfactory answers to questions arising in geometric applications. Geometric graph theory focuses on combinatorial and geometric properties of graphs drawn in the plane by straight-line edges (or, more generally, by edges represented by simple Jordan arcs). It is a fairly new discipline abounding in open problems, but it has already yielded some striking results that have proved instrumental in the solution of several basic problems in combinatorial and computational geometry (including the k-set problem and metric questions discussed in Sections 1.1 and 1.2, respectively, of this Handbook). This chapter is partitioned into extremal problems (Section 10.1), crossing numbers (Section 10.2), and generalizations (Section 10.3). 10.1 EXTREMAL PROBLEMS Tur´an’s classical theorem [Tur54] determines the maximum number of edges that an abstract graph with n vertices can have without containing, as a subgraph, a complete graph with k vertices. In the spirit of this result, one can raise the follow- ing general question. Given a class of so-called forbidden geometric subgraphs, what is the maximum number of edgesH that a geometric graph of n vertices can have without containing a geometric subgraph belonging to ? Similarly, Ramsey’s the- orem [Ram30] for abstract graphs has some natural analoguesH for geometric graphs. In this section we will be concerned mainly with problems of these two types.
    [Show full text]
  • A Survey on Graph Drawing Beyond Planarity
    A Survey on Graph Drawing Beyond Planarity Walter Didimo1, Giuseppe Liotta1, Fabrizio Montecchiani1 1Dipartimento di Ingegneria, Universit`adegli Studi di Perugia, Italy fwalter.didimo,giuseppe.liotta,[email protected] Abstract Graph Drawing Beyond Planarity is a rapidly growing research area that classifies and studies geometric representations of non-planar graphs in terms of forbidden crossing configurations. Aim of this survey is to describe the main research directions in this area, the most prominent known results, and some of the most challenging open problems. 1 Introduction In the mid 1980s, the early pioneers of graph drawing had the intuition that a drawing with too many edge crossings is harder to read than a drawing of the same graph with fewer edge crossings (see, e.g., [35, 36, 72, 190]). This intuition was later confirmed by a series of cognitive experimental studies (see, e.g., [180, 181, 203]). As a result, a large part of the existing literature on graph drawing showcases elegant algorithms and sophisticated data structures under the assumption that the input graph is planar, i.e., it admits a drawing without edge crossings. When the input graph is non-planar, crossing minimization heuristics are used to insert a small number of dummy vertices in correspondence of the edge crossings, so to obtain a planarization of the input graph. A crossing-free drawing of the planarization can be computed by using one of the algorithms for planar graphs and then the crossings are reinserted by removing the dummy vertices. This approach is commonly adopted and works well for graphs of relatively small size, up to a few hundred vertices and edges (see, e.g., [87, 152]).
    [Show full text]
  • Graph Drawing Tutorial
    Graph Drawing Tutorial Isabel F. Cruz Worcester Polytechnic Institute Roberto Tamassia Brown University Graph Drawing 0 Introduction Graph Drawing 1 ■ ■ covers), hierarchies), diagrams), diagrams), hierarchies), applications to visualization of andsystemsforthe algorithms, models, 30 53 41 28 27 47 11 16 21 44 15 14 20 18 52 29 17 56 WWW 22 54 38 63 34 58 45 55 51 31 12 Graph Drawing knowledge representation project management 1 9 13 61 32 46 telecommunications database systems 3 43 40 39 36 59 50 (browsing history) ... 62 42 35 37 software engineering 4 graphs 24 2 25 Graph Drawing 26 23 33 48 10 5 6 57 8 19 7 49 60 2 and networks (ER- (PERT (ring (class (isa Drawing Conventions ■ general constraints on the geometric representation of vertices and edges polyline drawing bend planar straight-line drawing orthogonal drawing Graph Drawing 3 Drawing Conventions planar othogonal straight-line drawing abc e d f g strong visibility representation f a c b d e g Graph Drawing 4 Drawing Conventions ■ directed acyclic graphs are usually drawn in such a way that all edges “flow” in the same direction, e.g., from left to right, or from bottom to top ■ such upward drawings effectively visualize hierarchical relationships, such as covering digraphs of ordered sets ■ not every planar acyclic digraph admits a planar upward drawing Graph Drawing 5 Resolution ■ display devices and the human eye have finite resolution ■ examples of resolution rules: ■ integer coordinates for vertices and bends (grid drawings) ■ prescribed minimum distance between vertices ■ prescribed minimum distance between vertices and nonincident edges ■ prescribed minimum angle formed by consecutive incident edges (angular resolution) Graph Drawing 6 Angular Resolution • The angular resolution ρ of a straight- line drawing is the smallest angle formed by two edges incident on the same vertex • High angular resolution is desirable in visualization applications and in the design of optical communication networks.
    [Show full text]
  • Drawing Planar Graphs with Large Vertices and Thick Edges Gill Barequet Dept
    Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 8, no. 1, pp. 3–20 (2004) Drawing Planar Graphs with Large Vertices and Thick Edges Gill Barequet Dept. of Computer Science, The Technion—Israel Institute of Technology, http://www.cs.technion.ac.il/∼barequet, [email protected] Michael T. Goodrich Dept. of Information and Computer Science, Univ. of California, Irvine, http://www.cs.uci.edu/∼goodrich, [email protected] Chris Riley Dept. of Computer Science, Johns Hopkins University, Baltimore, http://www.cs.jhu.edu/∼chrisr, [email protected] Abstract We consider the problem of representing size information in the edges and vertices of a planar graph. Such information can be used, for example, to depict a network of computers and information traveling through the network. We present an efficient linear-time algorithm which draws edges and vertices of varying 2-dimensional areas to represent the amount of information flowing through them. The algorithm avoids all occlusions of nodes and edges, while still drawing the graph on a compact integer grid. Article Type Communicated by Submitted Revised regular paper J. Mitchell September 2003 March 2004 Work by the first author supported in part by an Abraham and Jennie Fialkow Aca- demic Lectureship and by ARO MURI Grant DAAH04-96-1-0013. Work by the second and third authors supported in part by the NSF under Grants CCR-9732300 and PHY- 9980044, and by ARO MURI Grant DAAH04-96-1-0013. A preliminary version of this paper appeared in [1] G. Barequet et al., Graphs with Thick Edges, JGAA, 8(1) 3–20 (2004) 4 1 Introduction An important goal of information visualization is presenting information hidden in the structure of a graph to a human viewer in the clearest way possible.
    [Show full text]
  • Combinatorial Geometry and Its Algorithmic Applications the Alcalá Lectures
    Mathematical Surveys and Monographs Volume 152 Combinatorial Geometry and Its Algorithmic Applications The Alcalá Lectures János Pach Micha Sharir American Mathematical Society http://dx.doi.org/10.1090/surv/152 Combinatorial Geometry and Its Algorithmic Applications The Alcalá Lectures Mathematical Surveys and Monographs Volume 152 Combinatorial Geometry and Its Algorithmic Applications The Alcalá Lectures János Pach Micha Sharir American Mathematical Society Providence, Rhode Island EDITORIAL COMMITTEE Jerry L. Bona Michael G. Eastwood Ralph L. Cohen J. T. Stafford, Chair Benjamin Sudakov 2000 Mathematics Subject Classification. Primary 05C35, 05C62, 52C10, 52C30, 52C35, 52C45, 68Q25, 68R05, 68W05, 68W20. For additional information and updates on this book, visit www.ams.org/bookpages/surv-152 Library of Congress Cataloging-in-Publication Data Pach, Janos. Combinatorial geometry and its algorithmic applications : The Alcala lectures / Janos Pach, Micha Sharir. p. cm. — (Mathematical surveys and monographs ; v. 152) Includes bibliographical references and index. ISBN 978-0-8218-4691-9 (alk. paper) 1. Combinatorial geometry. 2. Algorithms. I. Sharir, Micha. II. Title. QA167.p332 2009 516.13–dc22 2008038876 Copying and reprinting. Individual readers of this publication, and nonprofit libraries acting for them, are permitted to make fair use of the material, such as to copy a chapter for use in teaching or research. Permission is granted to quote brief passages from this publication in reviews, provided the customary acknowledgment of the source is given. Republication, systematic copying, or multiple reproduction of any material in this publication is permitted only under license from the American Mathematical Society. Requests for such permission should be addressed to the Acquisitions Department, American Mathematical Society, 201 Charles Street, Providence, Rhode Island 02904-2294, USA.
    [Show full text]
  • Graph Drawing
    Graph Drawing Pro ceedings of the ALCOM International Workshop on Graph Drawing Sevres Parc of Saint Cloud Paris Septemb er Edited by G Di Battista P Eades H de Fraysseix P Rosenstiehl and R Tamassia DRAFT do not distribute Septemb er ALCOM International Workshop on Graph Drawing Sevres Parc of Saint Cloud Paris Septemb er Graph drawing addresses the problem of constructing geometric representations of abstract graphs and networks It is an emerging area of research that combines avors of graph theory and computational geometry The automatic generation of drawings of graphs has imp ortant applications in key computer technologies such as software enginering database design and visual interfaces Further challenging applications can b e found in architectural design circuit schematics and pro ject management Research on graph drawing has b een esp ecially active in the last decade Recent progress in computational geometry top ological graph theory and order theory has considerably aected the evolution of this eld and has widened the range of issues b eing investigated This rst international workshop on graph drawing covers ma jor trends in the area Pap ers describ e theorems algorithms graph drawing systems mathematical and exp erimental analyses practical exp erience and a wide variety of op en problems Authors come from diverse academic cultures from graph theory computational geometry and software engineering Supp ort from ALCOM I I ESPRIT BA and by EHESS is gratefully acknowledged we would also like to thank Mr David Montgomery
    [Show full text]
  • The Straight-Line RAC Drawing Problem Is NP-Hard Evmorfia N
    Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 16, no. 2, pp. 569–597 (2012) DOI: 10.7155/jgaa.00274 The Straight-Line RAC Drawing Problem is NP-Hard Evmorfia N. Argyriou 1 Michael A. Bekos 2 Antonios Symvonis 1 1School of Applied Mathematics & Physical Sciences, National Technical University of Athens, Greece 2Institute for Informatic, University of T¨ubingen, Germany Abstract A RAC drawing of a graph is a polyline drawing in which every pair of crossing edges intersects at right angle. In this paper, we focus on straight-line RAC drawings and demonstrate an infinite class of graphs with unique RAC combinatorial embedding. We employ members of this class in order to show that it is NP-hard to decide whether a graph admits a straight-line RAC drawing. Submitted: Reviewed: Revised: Accepted: Final: October 2011 March 2012 April 2012 August 2012 August 2012 Published: September 2012 Article type: Communicated by: Regular paper S.-H. Hong The work of E.N. Argyriou has been co-financed by the European Union (European Social Fund - ESF) and Greek national funds through the Operational Program “Education and Lifelong Learning” of the National Strategic Reference Framework (NSRF) - Research Funding Program: Heracleitus II. Investing in knowledge society through the European Social Fund. The work of M.A. Bekos is implemented within the framework of the Action “Supporting Postdoctoral Researchers” of the Operational Program “Education and Lifelong Learning” (Action’s Beneficiary: General Secretariat for Research and Technology), and is co-financed by the European Social Fund (ESF) and the Greek State. E-mail addresses: [email protected] (Evmorfia N.
    [Show full text]
  • Limitations on Realistic Hyperbolic Graph Drawing
    Limitations on Realistic Hyperbolic Graph Drawing David Eppstein Computer Science Department University of California, Irvine Irvine, CA 92697, USA [email protected] Abstract. We show that several types of graph drawing in the hyperbolic plane require features of the drawing to be separated from each other by sub-constant distances, distances so small that they can be accurately approximated by Euclidean distance. Therefore, for these types of drawing, hyperbolic geometry provides no benefit over Euclidean graph drawing. Keywords: Hyperbolic graph drawing, Realistic graph drawing, Vertex- edge resolution, Vertex-vertex resolution, Angular resolution 1 Introduction Although most graph drawing algorithms place vertices and edges in the Eu- clidean plane, several past works instead use a different geometry, the hyperbolic plane. Beginning in the 1990s, researchers proposed hyperbolic graph drawings to combine focus and context: the fisheye-like view provided by the Poincar´edisk visualization of the hyperbolic plane allows parts of the drawing to be shown in an expanded view, with the rest compressed into the margins of the Poincar´e disk but remaining entirely visible [22]. This line of research also includes similar techniques using three-dimensional hyperbolic geometry [26{28, 35]. The hyper- bolic plane has also been used for greedy graph drawings, with the property that a path to any vertex can be found by always moving to a neighboring vertex that is closer to the eventual destination. Unlike the Euclidean plane, the hyperbolic plane allows such drawings for any graph [4,15,19]. Hyperbolic geometry was central to our construction of Lombardi drawings for graphs of maximum degree three [14] and for Halin graphs [11].
    [Show full text]
  • The Open Graph Drawing Framework (OGDF)
    15 The Open Graph Drawing Framework (OGDF) Markus Chimani 1 Friedrich-Schiller-Universitaet Jena Carsten Gutwenger 15.1 Introduction::::::::::::::::::::::::::::::::::::::::::::::::::: 1 TU Dortmund The History of the OGDF • Outline Michael J¨unger 15.2 Major Design Concepts:::::::::::::::::::::::::::::::::::::: 2 • University of Cologne Modularization Self-contained and Portable Source Code 15.3 General Algorithms and Data Structures ::::::::::::::::: 4 Gunnar W. Klau Augmentation and Subgraph Algorithms • Graph Decomposition • Centrum Wiskunde & Informatica Planarity and Planarization 15.4 Graph Drawing Algorithms ::::::::::::::::::::::::::::::::: 8 Karsten Klein Planar Drawing Algorithms • Hierarchical Drawing Algorithms • • TU Dortmund Energy-based Drawing Algorithms Drawing Clustered Graphs 15.5 Success Stories :::::::::::::::::::::::::::::::::::::::::::::::: 21 Petra Mutzel SPQR-Trees • Exact Crossing Minimization • Upward Graph Drawing TU Dortmund Acknowledgement :::::::::::::::::::::::::::::::::::::::::::::::::: 23 15.1 Introduction We present the Open Graph Drawing Framework (OGDF), a C++ library of algorithms and data structures for graph drawing. The ultimate goal of the OGDF is to help bridge the gap between theory and practice in the field of automatic graph drawing. The library offers a wide variety of algorithms and data structures, some of them requiring complex and involved implementations, e.g., algorithms for planarity testing and planarization, or data structures for graph decomposition. A substantial part of these algorithms and data structures are building blocks of graph drawing algorithms, and the OGDF aims at pro- viding such functionality in a reusable form, thus also providing a powerful platform for implementing new algorithms. The OGDF can be obtained from its website at: http://www.ogdf.net 1Markus Chimani was funded via a juniorprofessorship by the Carl-Zeiss-Foundation. 0-8493-8597-0/01/$0.00+$1.50 ⃝c 2004 by CRC Press, LLC 1 2 CHAPTER 15.
    [Show full text]
  • Multidimensional Dominance Drawings
    Multidimensional Dominance Drawings Giacomo Ortali∗ and Ioannis G. Tollis∗∗ ∗University of Perugia [email protected] ∗∗Computer Science Department, University of Crete, Heraklion, Crete, Greece and Tom Sawyer Software, Inc. Berkeley, CA 94707 U.S.A. [email protected] Abstract. Let G be a DAG with n vertices and m edges. Two vertices u; v are incomparable if u doesn’t reach v and vice versa. We denote by width of a DAG G, wG, the maximum size of a set of incomparable vertices of G. In this paper we present an algorithm that computes a n dominance drawing of a DAG G in k dimensions, where wG ≤ k ≤ 2 . The time required by the algorithm is O(kn), with a precomputation time of O(km), needed to compute a compressed transitive closure of G, and 2 3 extra O(n wG) or O(n ) time, if we want k = wG. Our algorithm gives a tighter bound to the dominance dimension of a DAG. As corollaries, a new family of graphs having a 2-dimensional dominance drawing and a new upper bound to the dimension of a partial order are obtained. We also introduce the concept of transitive module and dimensional neck, wN , of a DAG G and we show how to improve the results given previously using these concepts. 1 Introduction Dominance drawings of directed acyclic graphs (DAGs) are very important in many areas of research, including graph drawing [7], computational geometry [4], information visualization[17], even in very large databases [18,20], just to men- tion a few.
    [Show full text]