Advanced Seminar on Graph Drawing – Planar Orientations Olga Maksin Victor Makarenkov Department of Computer Science. Ben-Gurion University of the Negev.

Slides:



Advertisements
Similar presentations
Planar graphs Algorithms and Networks. Planar graphs2 Can be drawn on the plane without crossings Plane graph: planar graph, given together with an embedding.
Advertisements

Planar Graphs: Coloring and Drawing
Covers, Dominations, Independent Sets and Matchings AmirHossein Bayegan Amirkabir University of Technology.
Cpt S 223 – Advanced Data Structures Graph Algorithms: Introduction
Orthogonal Drawing Kees Visser. Overview  Introduction  Orthogonal representation  Flow network  Bend optimal drawing.
Divide and Conquer. Subject Series-Parallel Digraphs Planarity testing.
I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization.
Planar Orientations Chapter 4 ( ) in the book Written By: Tomer Heber.
Map Overlay Algorithm. Birch forest Wolves Map 1: Vegetation Map 2: Animals.
2/14/13CMPS 3120 Computational Geometry1 CMPS 3120: Computational Geometry Spring 2013 Planar Subdivisions and Point Location Carola Wenk Based on: Computational.
A Separator Theorem for Graphs with an Excluded Minor and its Applications Paul Seymour Noga Alon Robin Thomas Lecturer : Daniel Motil.
Label Placement and graph drawing Imo Lieberwerth.
CSC401 – Analysis of Algorithms Lecture Notes 14 Graph Biconnectivity
Spine Crossing Minimization in Upward Topological Book Embeddings Tamara Mchedlidze, Antonios Symvonis Department of Mathematics, National Technical University.
Brute-Force Triangulation
Krakow, Summer 2011 Schnyder’s Theorem and Relatives William T. Trotter
Seminar Graph Drawing H : Introduction to Graph Drawing Jesper Nederlof Roeland Luitwieler.
Tirgul 8 Graph algorithms: Strongly connected components.
1 Constructing Convex 3-Polytopes From Two Triangulations of a Polygon Benjamin Marlin Dept. of Mathematics & Statistics McGill University Godfried Toussaint.
Optimization of Pearl’s Method of Conditioning and Greedy-Like Approximation Algorithm for the Vertex Feedback Set Problem Authors: Ann Becker and Dan.
On the complexity of orthogonal compaction maurizio patrignani univ. rome III.
Rajat K. Pal. Chapter 3 Emran Chowdhury # P Presented by.
Graph Drawing Introduction 2005/2006. Graph Drawing: Introduction2 Contents Applications of graph drawing Planar graphs: some theory Different types of.
Rectangle Visibility Graphs: Characterization, Construction, Compaction Ileana Streinu (Smith) Sue Whitesides (McGill U.)
Computational Geometry Seminar Lecture 1
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
CSE 6405 Graph Drawing Text Books T. Nishizeki and M. S. Rahman, Planar Graph Drawing, World Scientific, Singapore, G. Di Battista,
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
Data Representation using Graphs Hoang Dang. Motivation.
COMP4048 Planar and Orthogonal Graph Drawing Algorithms Richard Webber National ICT Australia.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
Brute-Force Triangulation
Complexity results for three-dimensional orthogonal graph drawing maurizio “titto” patrignani third university of rome graph drawing 2005.
I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization.
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
Flow and Upward Planarity
Orthogonal Drawings of Series-Parallel Graphs Joint work with Xiao Zhou by Tohoku University Takao Nishizeki.
Crossing Minimisation (1) Ronald Kieft. Global contents Specific 2-layer Crossing Minimisation techniques After the break, by Johan Crossing Minimisation.
Department of Computer Science and Engineering Bangladesh University of Engineering and Technology Md. Emran Chowdhury Department of CSE Northern University.
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
1 Orthogonal Drawing (continued)  Sections 8.3 – 8.5 from the book  Bert Spaan.
A split&push approach to 3D orthogonal drawings giuseppe di battista univ. rome III maurizio patrignani univ. rome III francesco vargiu aipa.
Paradigms for Graph Drawing Graph Drawing: Algorithms for the Visualization of Graphs - Chapter 2 Presented by Liana Diesendruck.
Arrangements and Duality Sanjay Sthapit Comp290 10/6/98.
Introduction to Planarity Test W. L. Hsu. 2/21 Plane Graph A plane graph is a graph drawn in the plane in such a way that no two edges intersect –Except.
CSCI 115 Chapter 8 Topics in Graph Theory. CSCI 115 §8.1 Graphs.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
Department of Computer Science and Engineering Bangladesh University of Engineering and Technology M. Sc. Engg. Thesis Md. Emran Chowdhury ( P)
Great Theoretical Ideas in Computer Science for Some.
Visualization of Biological Information with Circular Drawings.
Various Orders and Drawings of Plane Graphs Takao Nishizeki Tohoku University.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Fast.
Center for Graphics and Geometric Computing, Technion 1 Computational Geometry Chapter 9 Line Arrangements.
1 Schnyder’s Method. 2 Motivation Given a planar graph, we want to embed it in a grid We want the grid to be relatively small And we want an efficient.
Computational Molecular Biology Pooling Designs – Inhibitor Models.
Trees.
Algorithms and Networks
Minimum-Segment Convex Drawings of 3-Connected Cubic Plane Graphs
Geometric Graphs and Quasi-Planar Graphs
Graph Algorithms Using Depth First Search
Biconnectivity SEA PVD ORD FCO SNA MIA 11/16/2018 2:31 AM
Enumerating Distances Using Spanners of Bounded Degree
Connected Components Minimum Spanning Tree
CS 583 Analysis of Algorithms
Victoria city and Sendai city
SPQR Tree.
Graphs G = (V, E) V are the vertices; E are the edges.
Biconnectivity SEA PVD ORD FCO SNA MIA 5/6/2019 5:08 PM Biconnectivity
Introduction to Graph drawing
Biconnectivity SEA PVD ORD FCO SNA MIA 5/23/ :21 PM
Presentation transcript:

Advanced Seminar on Graph Drawing – Planar Orientations Olga Maksin Victor Makarenkov Department of Computer Science. Ben-Gurion University of the Negev.

Contents Dominance Drawings Undirected Planar Graphs Planar Orthogonal Drawings Planar Straight Line Drawings Real-World Example

Dominance Drawings - Motivation Draw a nice planar st-graphs with: ◦ Linear time complexity ◦ Small number of bends ◦ Small area ◦ Presentation of symmetries

Dominance drawing A dominance drawing of a digraph G is a drawing Γ of G such that: Dominance drawing is upward. u v iff X(u) <= X(v) Y(u) <= Y(v)

Lemma Any straight line dominance drawing Γ of a reduced planar st-graph G is planar. Proof (sketched) : ◦ Assume the negation -> K 3,3 -> contradiction.

Dominance straight line Input : Reduced planar st-graph G=(V,E) Output : Straight line dominance drawing Γ of G 3 Stages: ◦ Preprocessing – Data structures ◦ Preliminary Layout ◦ Compaction

Preprocessing s k w q a b t For each v list of outgoing edges (clockwise) Next (e), Pred (e) firstout(v) lastout(v) firstin(v) lastin(v) For each e = head(e) = v firstout(s) = Lastin(t) = Next( )=

Preliminary Layout s k w q a b t 0,0 4,16,6 2,3 3,5 1,4 5,2

0, s k w q a b t X Y Preliminary Layout cont.

Compaction 0, s k w q a b t X Y If Y(u) > Y(v) or (Firstout(u) = lastout(u) and firstin(v) = lastin(v)) Then x(v) = x(u) + 1 Else x(v) = x(u) Two ordered lists by X and Y coordinate

Compaction cont. 0, s k w q a bt X Y If X(u) > X(v) or (Firstout(u) = lastout(u) and firstin(v) = lastin(v)) Then y(v) = y(u) + 1 Else y(v) = y(u)

Compaction conclusion. s k w q a b t s k q a bt w Compaction

Example

Algorithm Analysis Theorem 4.9. Let G be a reduced planar st-graph with n vertices. Algorithm Dominance-Straight-Line constructs in O(n) time a planar straight line dominance grid drawing Γ of G with O(n 2 ) area.

Display of symmetries Theorem Let G be a reduced planar st-graph. And Γ be the corresponding straight line drawing constructed by algorithm dominance-straight-line. We have : ◦ Simply isomorphic components of G have drawings in Γ that are congruent up to a translation. ◦ Axially isomorphic components of G have drawings in Γ that are congruent up to a translation and reflection.

Display of symmetries cont. Rotationally isomorphic components of G have drawings in Γ that are congruent up to a translation and 180 o rotation.

Minimum area dominance drawings E L set of edges { } such that is the rightmost incoming edge of v and leftmost outgoing of u. E R – vice versa. E H – { } the only outgoing edge of u and the only incoming of v. E H is intersection of E L and E R Area = (n -1 – (m L - m H )) * (n -1-(m R - m H )) Minimum area : E H is empty

Minimum area dominance drawings Compute m L and m R in preprocessing phase If Y(u) > Y(v) or (Firstout(u) = lastout(u) and firstin(v) = lastin(v) and m L m R for x) ) Then x(v) = x(u) + 1 Else x(v) = x(u)

Minimum area cont. Theorem Let G be a reduced planar st-graph with n vertices. A minimum area Dominance-Straight-Line grid drawing of G can be constructed in O(n) time. Note: Symmetry not guaranteed.

General planar st-graphs Input : Planar st-graph G=(V,E) Output : Polyline dominance drawing Γ of G ◦ Construct reduced G’ ◦ Run Algorithm Dominance-straight-line ◦ Remove dummies

General planar st-graphs cont. Adding a dummy vertex: At least n-1 edges are not transitive => at most 2n – 5 dummies => 2n-5 bends. Recall at most 3n-6 edges in planar graph. s k w q a b t X

Dominance Drawings - Summary Γ is planar, upward, grid, dominance, polyline. Γ has O(n 2 ) area. Γ has at most 2n-5 bends. Every edge at most one bend. Γ presents symmetric and isomorphic components.

Contents Dominance Drawings Undirected Planar Graphs Planar Orthogonal Drawings Planar Straight Line Drawings Real-World Example

Extension - Undirected Planar Graphs Tessellation Visibility Upward polyline drawings O(n) time, O(n 2 ) area, 2n-5 bends for planar polyline.

The extension Construct a planar embedding of G. Make it biconnected (dummy edges). Let s and t be 2 vertices on external face. St-numbering Orient edges according to st-numbering. st

Contents Dominance Drawings Undirected Planar Graphs Planar Orthogonal Drawings Planar Straight Line Drawings Real-World Example

Planar Orthogonal Drawings Graphs with degree less than or equal to four. Uses visibility representations as an intermediate construction. At most 2 bends for each edge (except two edges for s and t with four bends each). Total: 2n+4 O(n) time, O(n 2 ) area

Orthogonal-from-Visibility Input : biconnected planar graph G=(V,E) with n vertices of degree at most 4. Output : planar orthogonal grid drawing of G. ◦ Construct planar embedding -> planar st -graph ◦ Create paths ◦ Run Constrained-Visibility ◦ Construct a planar orthogonal grid drawing

Create paths ◦ n – 2 directed paths associated to vertices distinct from s, t ◦ Unify paths sharing edges Orthogonal-from-Visibility cont. w v wv

Run Constrained –Visibility with respect to ∏ nonintersecting paths. Prespecified edges vertically alligned. For 2 edges on same path, the edge segments have same x coordinate.

Orthogonal-from-Visibility cont. Construct a planar orthogonal grid drawing: ◦ For each v: draw at the intersection of vertex segment with the edge segments of its path ◦ For s (t): intersection of its segment with edge segment of median outgoing (incoming).

Orthogonal-from-Visibility cont. For each e=(u,v): orthogonal chain through the following points : Placement of u Intersection of Γ ( u) and Γ ( e) Intersection Γ ( e) and Γ ( v) Placement of v Γ(u) Γ(v) Γ(e)

Example

Contents Dominance Drawings Undirected Planar Graphs Planar Orthogonal Drawings Planar Straight Line Drawings Real-World Example

Planar straight line Every planar graph admits a straight line drawing. Existence is not the same as nice one. Until 1988 vertices exponentially close together (in minimum unit of distance). So no visualization can be made.

Planar straight line Theorem Every n-vertex planar graph has a planar straight line grid drawing with O(n 2 ) area.

Planar straight line How ? ◦ Orientation ◦ One vertex at a time ◦ Partial order on vertices, edges and faces.

Contents Dominance Drawings Undirected Planar Graphs Planar Orthogonal Drawings Planar Straight Line Drawings Real-World Example

UML

USE example Force directed methods