Convex drawing chapter 5 Ingeborg Groeneweg. Summery What is convex drawing What is convex drawing Some definitions Some definitions Testing convexity.

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.
Connectivity - Menger’s Theorem Graphs & Algorithms Lecture 3.
Chapter 8 Topics in Graph Theory
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Applications of Euler’s Formula for Graphs Hannah Stevens.
CompSci 102 Discrete Math for Computer Science April 19, 2012 Prof. Rodger Lecture adapted from Bruce Maggs/Lecture developed at Carnegie Mellon, primarily.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
Math Polygons.
Chapter 12 and Chapter 3 Geometry Terms.
Polygons – Sum of the Angles The sum of the interior angles of a convex polygon depends on the number of sides of the polygon. The formula is developed.
Applied Combinatorics, 4th Ed. Alan Tucker
3. Delaunay triangulation
Graph Drawing Introduction 2005/2006. Graph Drawing: Introduction2 Contents Applications of graph drawing Planar graphs: some theory Different types of.
Convex Grid Drawings of 3-Connected Plane Graphs Erik van de Pol.
Applied Combinatorics, 4th Ed. Alan Tucker
Computational Geometry Seminar Lecture 1
Chapter 4: Straight Line Drawing Ronald Kieft. Contents Introduction Algorithm 1: Shift Method Algorithm 2: Realizer Method Other parts of chapter 4 Questions?
Rectangular Drawing Imo Lieberwerth. Content Introduction Rectangular Drawing and Matching Thomassen’s Theorem Rectangular drawing algorithm Advanced.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Problem: Induced Planar Graphs Tim Hayes Mentor: Dr. Fiorini.
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.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
The Art Gallery Problem
Minimum Spanning Trees. Subgraph A graph G is a subgraph of graph H if –The vertices of G are a subset of the vertices of H, and –The edges of G are a.
9.2 Graph Terminology and Special Types Graphs
Ziting (Vivien) Zhou1 Drawing Graphs By Computer Graph from
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.
Convex Grid Drawings of Plane Graphs
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.
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.:
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
 2. Region(face) colourings  Definitions 46: A edge of the graph is called a bridge, if the edge is not in any circuit. A connected planar graph is called.
Planar Graphs Graph Coloring
Planar Graphs Prepared by: Asa Dan, Ofer Kiselov, Hillel Mendelson & Ofir Pupko Graph Theory with CE Applications Technion 2015.
Connectivity and Paths 報告人:林清池. Connectivity A separating set of a graph G is a set such that G-S has more than one component. The connectivity of G,
Unit – V Graph theory. Representation of Graphs Graph G (V, E,  ) V Set of vertices ESet of edges  Function that assigns vertices {v, w} to each edge.
Graph Theory and Applications
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Introduction to Graph Theory
Great Theoretical Ideas in Computer Science for Some.
Various Orders and Drawings of Plane Graphs Takao Nishizeki Tohoku University.
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.
CSC 252: Algorithms October 28, 2000 Homework #5: Graphs Victoria Manfredi (252a-ad) notes: -Definitions for each of the graph concepts are those presented.
Chapter 7 Planar Graphs 大葉大學 資訊工程系 黃鈴玲  7.2 Planar Embeddings  7.3 Euler’s Formula and Consequences  7.4 Characterization of Planar Graphs.
Algorithms and Networks
Outline 1 Properties of Planar Graphs 5/4/2018.
8.1 Angles of Polygons What you’ll learn:
5.2 Polygon Exterior Angles
Redraw these graphs so that none of the line intersect except at the vertices B C D E F G H.
5.9.2 Characterizations of Planar Graphs
Applied Combinatorics, 4th Ed. Alan Tucker
Graph theory Definitions Trees, cycles, directed graphs.
Geometric Graphs and Quasi-Planar Graphs
An angle inside a polygon
Tucker, Applied Combinatorics, Sec 2.4
Planarity Testing.
The Art Gallery Problem
The Art Gallery Problem
Applied Combinatorics, 4th Ed. Alan Tucker
Planarity.
Gaph Theory Planar Graphs
Discrete Mathematics for Computer Science
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Agenda Review Lecture Content: Shortest Path Algorithm
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Presentation transcript:

Convex drawing chapter 5 Ingeborg Groeneweg

Summery What is convex drawing What is convex drawing Some definitions Some definitions Testing convexity Testing convexity Drawing a convex graph Drawing a convex graph

Convex drawing Drawing is called convex: Drawing is called convex: Each egde straight line Each egde straight line Each face convex polygon Each face convex polygon Not every planar graph is convex Not every planar graph is convex Every 3-connected planar graph has a convex drawing Every 3-connected planar graph has a convex drawing

Facial cycle Boundary of a face Boundary of a face Facial cycle of a graph G is boundary of outer face Facial cycle of a graph G is boundary of outer face Facial cycle of G also called C 0 (G) Facial cycle of G also called C 0 (G) C* 0, outer convex polygon, polygonal drawing of C 0 C* 0, outer convex polygon, polygonal drawing of C 0

Extendible C* 0 is extendible if there exists a convex drawing of G with C 0 (G) drawn as C* 0 C* 0 is extendible if there exists a convex drawing of G with C 0 (G) drawn as C* 0 Let C* 0 be a k-gon, k ≥ 3 Let C* 0 be a k-gon, k ≥ 3 P 1, P 2,..,P k paths in C 0 (G), corresponding to a side of C* 0 P 1, P 2,..,P k paths in C 0 (G), corresponding to a side of C* 0 C* 0 is extendible if and only if Condition I holds C* 0 is extendible if and only if Condition I holds

Condition I For each inner vertex v with d(v) ≥ 3, there exists three paths disjoint except v, each joining v and an outer vertex For each inner vertex v with d(v) ≥ 3, there exists three paths disjoint except v, each joining v and an outer vertex G – V(C o (G)) has no connected component H such that all the outer vertices adjacent to vertices in H lie on a single path P i are joined by an inner edge G – V(C o (G)) has no connected component H such that all the outer vertices adjacent to vertices in H lie on a single path P i are joined by an inner edge Any cycle containing no outer edge has at least three vertices of degree ≥ 3 Any cycle containing no outer edge has at least three vertices of degree ≥ 3

Definitions Separation pair Separation pair Split component Split component 3-connected component 3-connected component Prime separation pair Prime separation pair Forbidden separation pair Forbidden separation pair Critical separation pair Critical separation pair

Separation pair Two subgraphs G 1 = (V 1, E 1 ), G 2 = (V 2,E 2 ) of 2-connected graph G = (V,E) Two subgraphs G 1 = (V 1, E 1 ), G 2 = (V 2,E 2 ) of 2-connected graph G = (V,E) (x,y)  V is separation pair if (x,y)  V is separation pair if V = V1  V2, {x,y}= V1  V2 V = V1  V2, {x,y}= V1  V2 E = E1  E2,  = E1  E2 E = E1  E2,  = E1  E2  E1  ≥ 2,  E2  ≥ 2  E1  ≥ 2,  E2  ≥ 2

Separation pair example example

Split graphs Split graphs: obtained by adding a virtual edge (x,y) to G 1 and G 2 Split graphs: obtained by adding a virtual edge (x,y) to G 1 and G 2 Splitting: dividing graph into two split graphs Splitting: dividing graph into two split graphs Split components: splitting (split) graphs until no more splits are possible Split components: splitting (split) graphs until no more splits are possible

3-connected components merging split components merging split components Triple bonds into a bond Triple bonds into a bond Triangles into a ring(= a cycle) Triangles into a ring(= a cycle) 3-connected components are unique 3-connected components are unique

Prime separation pair Prime separation pair {x,y}: Prime separation pair {x,y}: x and y end vertices of virtual edge contained in 3- connected component x and y end vertices of virtual edge contained in 3- connected component

Forbidden separation pair Prime separation pair is forbidden if: Prime separation pair is forbidden if: At least four {x,y}-split components, or At least four {x,y}-split components, or Exactly three {x,y}-split components: no ring, no bond Exactly three {x,y}-split components: no ring, no bond

Critical separation pair Prime separation pair is critical if: Prime separation pair is critical if: Exactly three {x,y}-split components including a ring or a bond, or Exactly three {x,y}-split components including a ring or a bond, or Exactly two {x,y}-split components: no ring, no bond Exactly two {x,y}-split components: no ring, no bond = =

Condition II Let C* 0 be outer strict convex polygon Let C* 0 be outer strict convex polygon G has no forbidden separation pair G has no forbidden separation pair For each critical separation pair (x,y) of G, there is at most one (x,y)-split component having no edge of F, and if any, it is either a bond if (x,y)  E or a ring otherwise For each critical separation pair (x,y) of G, there is at most one (x,y)-split component having no edge of F, and if any, it is either a bond if (x,y)  E or a ring otherwise

Testing convexity Forbidden separtion pair  no convex drawing Forbidden separtion pair  no convex drawing No forbidden, one critical  convex drawing some outer facial cycle No forbidden, one critical  convex drawing some outer facial cycle No forbidden, two or more critical  further specification No forbidden, two or more critical  further specification No forbidden, No critical  convex drawing for any facial cycle, subdivision of 3-connected graph No forbidden, No critical  convex drawing for any facial cycle, subdivision of 3-connected graph

Testing convexity For every critical separation pair (x,y) For every critical separation pair (x,y) (x,y)  E -> delete (x,y) (x,y)  E -> delete (x,y) (x,y)  E and one (x,y)-split component is ring -> delete x-y path (x,y)  E and one (x,y)-split component is ring -> delete x-y path Resulting graph G’ Resulting graph G’ Add to G’ new vertex v Add to G’ new vertex v Join v to all critical separation vertices Join v to all critical separation vertices If new Graph G’’ is planar G has convex drawing If new Graph G’’ is planar G has convex drawing

Finding convex drawing Find a extendible facial cycle F Find a extendible facial cycle F Remove all vertices v, with d(v)=2 and v  F Remove all vertices v, with d(v)=2 and v  F Remove w  F + all edges incident to w Remove w  F + all edges incident to w Devide G’= G – w in blocks Devide G’= G – w in blocks Determine outer convex polygon for each block Determine outer convex polygon for each block Recursively reply these steps for each block Recursively reply these steps for each block Add to convex drawing of G all remove vertices v Add to convex drawing of G all remove vertices v

Extendible facial cycle Finding all facial cycle’s Finding all facial cycle’s

Convex-Drawing Algorithm convex-drawing(G, C* 0 ) Algorithm convex-drawing(G, C* 0 ) Step 1: V ≥ 4, no single cycle choose v  C* 0 G’ := G – v divide G’ into blocks B i, 1 ≤ i ≤ p v 1, v p+1 outer vertices adjacent to v v i 2 ≤ i ≤ p cut vertex of G’ s.t. v i = V(B i-1 )  V(B i ) Step 1: V ≥ 4, no single cycle choose v  C* 0 G’ := G – v divide G’ into blocks B i, 1 ≤ i ≤ p v 1, v p+1 outer vertices adjacent to v v i 2 ≤ i ≤ p cut vertex of G’ s.t. v i = V(B i-1 )  V(B i )

Condition I For each inner vertex v with d(v) ≥ 3, there exists three paths disjoint except v, each joining v and an outer vertex For each inner vertex v with d(v) ≥ 3, there exists three paths disjoint except v, each joining v and an outer vertex G – V(C o (G)) has no connected component H such that all the outer vertices adjacent to vertices in H lie on a single path P i are joined by an inner edge G – V(C o (G)) has no connected component H such that all the outer vertices adjacent to vertices in H lie on a single path P i are joined by an inner edge Any cycle containing no outer edge has at least three vertices of degree ≥ 3 Any cycle containing no outer edge has at least three vertices of degree ≥ 3

Convex-Drawing Step 2: find a convex drawing of each block B i Step 2: find a convex drawing of each block B i Step 2.1 determine outer convex polygon C*i: locate vertices in C* 0 – G 0 (G) in interior of triangle v, v i, v i+1 s.t. vertices adjacent to v are apices Step 2.1 determine outer convex polygon C*i: locate vertices in C* 0 – G 0 (G) in interior of triangle v, v i, v i+1 s.t. vertices adjacent to v are apices Step 2.2 recursively call convex-drawing(B i, C* i ) Step 2.2 recursively call convex-drawing(B i, C* i )

Questions