Graph Drawing Introduction 2005/2006. Graph Drawing: Introduction2 Contents Applications of graph drawing Planar graphs: some theory Different types of.

Slides:



Advertisements
Similar presentations
Great Theoretical Ideas in Computer Science for Some.
Advertisements

Planar graphs Algorithms and Networks. Planar graphs2 Can be drawn on the plane without crossings Plane graph: planar graph, given together with an embedding.
Chapter 8 Topics in Graph Theory
Orthogonal Drawing Kees Visser. Overview  Introduction  Orthogonal representation  Flow network  Bend optimal drawing.
Planar Orientations Chapter 4 ( ) in the book Written By: Tomer Heber.
Convex drawing chapter 5 Ingeborg Groeneweg. Summery What is convex drawing What is convex drawing Some definitions Some definitions Testing convexity.
9.7 Planar Graphs. Intro problem- 3 houses and 3 utilities K 3,3 problem: Can 3 houses be connected to 3 utilities so that no 2 lines cross? Similarly,
CompSci 102 Discrete Math for Computer Science April 19, 2012 Prof. Rodger Lecture adapted from Bruce Maggs/Lecture developed at Carnegie Mellon, primarily.
Seminar Graph Drawing H : Introduction to Graph Drawing Jesper Nederlof Roeland Luitwieler.
3. Delaunay triangulation
Convex Grid Drawings of 3-Connected Plane Graphs Erik van de Pol.
Applied Combinatorics, 4th Ed. Alan Tucker
Computational Geometry Seminar Lecture 4 More on straight-line embeddings Gennadiy Korol.
Computational Geometry Seminar Lecture 1
CSE 6405 Graph Drawing Text Books T. Nishizeki and M. S. Rahman, Planar Graph Drawing, World Scientific, Singapore, G. Di Battista,
2IL90: Graph Drawing Introduction Fall Graphs  Vertices  Edges.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
Chapter 4: Straight Line Drawing Ronald Kieft. Contents Introduction Algorithm 1: Shift Method Algorithm 2: Realizer Method Other parts of chapter 4 Questions?
Drawing of G. Planar Embedding of G Proposition Proof. 1. Consider a drawing of K 5 or K 3,3 in the plane. Let C be a spanning cycle. 2. If the.
Curve Curve: The image of a continous map from [0,1] to R 2. Polygonal curve: A curve composed of finitely many line segments. Polygonal u,v-curve: A polygonal.
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.
Graph Theory Ch6 Planar Graphs. Basic Definitions  curve, polygon curve, drawing  crossing, planar, planar embedding, and plane graph  open set  region,
Graph Theory Chapter 6 Planar Graphs Ch. 6. Planar Graphs.
Subdivision of Edge In a graph G, subdivision of an edge uv is the operation of replacing uv with a path u,w,v through a new vertex w.
Planar Graphs Graph G is planar, if it can be “properly” drawn in the plane. In order to explain this informal notion we have to define embeddings of graphs.
Orthogonal Drawings of Series-Parallel Graphs Joint work with Xiao Zhou by Tohoku University Takao Nishizeki.
Planar Graphs: Euler's Formula and Coloring Graphs & Algorithms Lecture 7 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:
Planar Graphs and Partially Ordered Sets William T. Trotter Georgia Institute of Technology.
Introduction to Planarity Test W. L. Hsu. Plane Graph A plane graph is a graph drawn in the plane in such a way that no two edges intersect A plane graph.
V Spanning Trees Spanning Trees v Minimum Spanning Trees Minimum Spanning Trees v Kruskal’s Algorithm v Example Example v Planar Graphs Planar Graphs v.
Paradigms for Graph Drawing Graph Drawing: Algorithms for the Visualization of Graphs - Chapter 2 Presented by Liana Diesendruck.
Basic Notions on Graphs. The House-and-Utilities Problem.
MAT 2720 Discrete Mathematics Section 8.7 Planar Graphs
Planar Graphs Graph Coloring
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.
Agenda Review: –Planar Graphs Lecture Content:  Concepts of Trees  Spanning Trees  Binary Trees Exercise.
Planar Graphs Prepared by: Asa Dan, Ofer Kiselov, Hillel Mendelson & Ofir Pupko Graph Theory with CE Applications Technion 2015.
An Introduction to Graph Theory
Great Theoretical Ideas in Computer Science for Some.
COMPSCI 102 Introduction to Discrete Mathematics.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Planarity Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT.
Chapter 7 Planar Graphs 大葉大學 資訊工程系 黃鈴玲  7.2 Planar Embeddings  7.3 Euler’s Formula and Consequences  7.4 Characterization of Planar Graphs.
Quality Ratios of Measures for Graph Drawing Styles Michael Hoffmann - Zurich Marc van Kreveld - Utrecht Vincent Kusters - Zurich Günter Rote - Berlin.
Planar Graphs (part 2) prepared and Instructed by Gideon Blocq Semester B, 2014 June 2014Planar Graphs (part 2)1.
Algorithms and Networks
Great Theoretical Ideas In Computer Science
Outline 1 Properties of Planar Graphs 5/4/2018.
Discrete Mathematics Graph: Planar Graph Yuan Luo
Graph Drawing.
Great Theoretical Ideas In Computer Science
Applied Combinatorics, 4th Ed. Alan Tucker
Geometric Graphs and Quasi-Planar Graphs
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Applied Combinatorics, 4th Ed. Alan Tucker
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Great Theoretical Ideas In Computer Science
MAT 2720 Discrete Mathematics
Planarity.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 8th ed., by Kenneth H.
N(S) ={vV|uS,{u,v}E(G)}
Gaph Theory Planar Graphs
Discrete Mathematics for Computer Science
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Planarity.
Agenda Review Lecture Content: Shortest Path Algorithm
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Presentation transcript:

Graph Drawing Introduction 2005/2006

Graph Drawing: Introduction2 Contents Applications of graph drawing Planar graphs: some theory Different types of drawings

Graph Drawing: Introduction3 Applications Earliest graph drawings: family trees VLSI / circuit design –First major application of automated graph drawing –Floor planning Aesthetically pleasing graph drawings –Visualizing molecules, organisation diagrams, UML- schemes, database designs (ER-diagrams), questionnaires,

Graph Drawing: Introduction4 Planar graphs Can be drawn on the plane without crossings Most road networks From models of geometric problems –E.g. Delauney triangulations of point sets

Graph Drawing: Introduction5 Plane graph Plane graph = planar graph given with fixed embedding in the plane A planar graph has several embeddings –Some are topologically equivalent, some not.

Graph Drawing: Introduction6 Some notions Faces Exterior face Interior faces Each edge is incident to 2 faces Boundary of a face Outer boundary Outer vertex, outer edge Inner vertex, inner edge

Graph Drawing: Introduction7 Equivalent embeddings For each face in one embedding, there is a face in the other embedding with the same boundary. 3-connected planar graphs have a unique embedding –A graph is 3-connected, if and only if removing any 2 vertices still gives a connected graph We can get equivalent embeddings with any face chosen as exterior face

Graph Drawing: Introduction8 The smallest graphs that are not planar K 5, K 3,3

Graph Drawing: Introduction9 Kuratowski / Wagner A graph is planar if and only if it does not contain the K 5 and the K 3,3 as a homeomorphic subgraph / as a minor. Minor: H is a minor of G, if H can be obtained from G by a series of 0 or more deletions of vertices, deletions of edges, and contraction of edges. Does not yield fast recognition algorithm!

Graph Drawing: Introduction10 Euler’s theorem Let G be a connected plane graph with n vertices, m edges, and f faces. Then n + f – m = 2. Proof. By induction. –True if m=0. –If G has a circuit, then delete an edge that is part of a circuit: this decreases f by one and m by one. n stays the same. IH. –If G has a vertex v of degree 1, then delete v: this decreases n by one, m by one, while f stays the same. IH.

Graph Drawing: Introduction11 Euler’s theorem Corollaries If G is a connected plane graph with no parallel edges and no self-loops, with n > 1, then m  3n-6. –Every face `has’ at least three edges; each edge `is on’ two faces, or twice on the same face. Every plane graph with no parallel edges and no self-loops has a vertex of degree at most 5.

Graph Drawing: Introduction12 Maximal planar graph G=(V,E) (without parallel edges and self- loops) is a maximal planar graph, if –G is planar –For each two vertices v, w, v  w, {v,w}  E: G + {v,w} is not a planar graph Often also called: triangulated –Each face is a triangle |E| = 3|V| - 6, for maximal planar graphs

Graph Drawing: Introduction13 Duality The dual G* of a plane graph G –A vertex in G* for each face of G –An edge in G* when faces share an edge in G (G*)* = G

Graph Drawing: Introduction14 Testing planarity Detailed algorithms can test in O(n) time if a graph G=(V,E) is planar –And find for each vertex a clockwise ordering of the outgoing edges as they can appear in an embedding in the plane

Graph Drawing: Introduction15 Types of drawings Vertices can be represented as –Points –Circles or rectangles Edges can be represented as –Straight lines –Curves –Lines with bends –Sequences of horizontal and vertical line segments –Implicitly, by adjacency of rectangles representing vertices

Graph Drawing: Introduction16 Planar drawing Vertices are points in de plane Edges are curves between endpoints No edges cross –Many different types…

Graph Drawing: Introduction17 Polyline drawings Each edge is a polygonal chain Each edge is a chain of horizontal and vertical line segments (orthogonal drawing)

Graph Drawing: Introduction18 Straight line drawing Each edge is a straight line. Theorem: a planar graph has a plane embedding where each edge is a straight line. (Wagner (1936); Fá ry (1948); Stein (1951)) Not a straight line drawing A straight line drawing

Graph Drawing: Introduction19 Box orthogonal drawings A graph with a vertex of degree more than 4 does not have an orthogonal drawing In a box orthogonal drawing a vertex is represented by a rectangle (box)

Graph Drawing: Introduction20 Rectangular drawing Vertices are points Edges are a vertical or horizontal line No crossings Each face is a rectangle Generalization: box rectangular drawing

Graph Drawing: Introduction21 Grid drawing Each vertex and each bend is on a grid point –Prevents drawings to have many points in a very small area –When drawing on raster device (e.g., screen) –Area minimization

Graph Drawing: Introduction22 Visibility drawing Each vertex is horizontal line segment Each edge is vertical line segment between segments of its vertices

Graph Drawing: Introduction23 Properties of drawings Area (e.g. for grid drawings) Number of bends –In total; maximum per edge Number of crossings (if graph is not planar) Aspect ratio (length of longest edge / length of shortest edge) Shape of faces (e.g., rectangles, convexity) Symmetry (drawing isomorphic parts in the same or mirrored ways) Angular resolution (angles between adjacent edges) Beauty?

Graph Drawing: Introduction24 A data structure for a plane graph Adjacency lists give edges in clockwise order For easily moving around in the graph: –Adjacency lists are doubly linked –The two entries for an edge are linked to each other Enables listing all vertices or edges on a fast in a fast way

Graph Drawing: Introduction25 Next Read chapters 1, 2 and 3 from Planar Graph Drawing Schedule for this year