Tutte Embedding: How to Draw a Graph Kyri Pavlou Math 543 Fall 2008.

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
Yang Yang, Miao Jin, Hongyi Wu Presenter: Buri Ban The Center for Advanced Computer Studies (CACS) University of Louisiana at Lafayette 3D Surface Localization.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
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.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
By Groysman Maxim. Let S be a set of sites in the plane. Each point in the plane is influenced by each point of S. We would like to decompose the plane.
1 Constructing Convex 3-Polytopes From Two Triangulations of a Polygon Benjamin Marlin Dept. of Mathematics & Statistics McGill University Godfried Toussaint.
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
1 Construction of Hamiltonian Cycles in Layered Cubic Planar Graphs Graphs and Combinatorics 2002 D.S. Franzblau Department of Mathematics, CUNY/College.
Siggraph Course Mesh Parameterization: Theory and Practice Barycentric Mappings.
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
Delaunay Triangulation Computational Geometry, WS 2006/07 Lecture 11 Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut für Informatik Fakultät.
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
Lecture 10 : Delaunay Triangulation Computational Geometry Prof. Dr. Th. Ottmann 1 Overview Motivation. Triangulation of Planar Point Sets. Definition.
Center for Graphics and Geometric Computing, Technion 1 Computational Geometry Chapter 9 Delaunay Triangulation.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that S has more than one component. Connectivity of G ((G)): The.
Mesh Parameterization: Theory and Practice Barycentric Mappings.
Chapter 9 Graph algorithms Lec 21 Dec 1, Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
Graph Colouring Lecture 20: Nov 25.
Definition Dual Graph G* of a Plane Graph:
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.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that G-S has more than one component. d f b e a g c i h.
1 Refined Search Tree Technique for Dominating Set on Planar Graphs Jochen Alber, Hongbing Fan, Michael R. Fellows, Henning Fernau, Rolf Niedermeier, Fran.
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.
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.
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.
1 Mesh Parametrization and Its Applications 동의대학교 멀티미디어공학과 김형석 포항공과대학교 ( 이윤진, 이승용 )
4 4.4 © 2012 Pearson Education, Inc. Vector Spaces COORDINATE SYSTEMS.
Straight line drawings of planar graphs – part II Roeland Luitwieler.
Chapter 6 Graph Theory R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001.
The Tutte Polynomial Graph Polynomials winter 05/06.
Computer Graphics Some slides courtesy of Pierre Alliez and Craig Gotsman Texture mapping and parameterization.
On Graphs Supporting Greedy Forwarding for Directional Wireless Networks W. Si, B. Scholz, G. Mao, R. Boreli, et al. University of Western Sydney National.
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.
Planar Graphs Graph Coloring
Chapter 10 Graph Theory Eulerian Cycle and the property of graph theory 10.3 The important property of graph theory and its representation 10.4.
An Introduction to Graph Theory
Graph Colouring Lecture 20: Nov 25. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including.
Graph Theory and Applications
UNC Chapel Hill M. C. Lin Delaunay Triangulations Reading: Chapter 9 of the Textbook Driving Applications –Height Interpolation –Constrained Triangulation.
Introduction to Graph Theory By: Arun Kumar (Asst. Professor) (Asst. Professor)
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.
The geometric GMST problem with grid clustering Presented by 楊劭文, 游岳齊, 吳郁君, 林信仲, 萬高維 Department of Computer Science and Information Engineering, National.
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.
Algorithms and Networks
Great Theoretical Ideas In Computer Science
Outline 1 Properties of Planar Graphs 5/4/2018.
37TH ANNUAL AMATYC CONFERENCE A Modern Existence Proof Through Graphs
Applied Combinatorics, 4th Ed. Alan Tucker
Tucker, Applied Combinatorics, Sec 2.4
Planarity Testing.
The Art Gallery Problem
The Art Gallery Problem
Tutte Embedding: How to Draw a Graph
Applied Combinatorics, 4th Ed. Alan Tucker
Planarity.
Gaph Theory Planar Graphs
GRAPH THEORY Properties of Planar Graphs Ch9-1.
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Presentation transcript:

Tutte Embedding: How to Draw a Graph Kyri Pavlou Math 543 Fall 2008

Outline Problem definition & Background Barycentric coordinates & Definitions Tutte embedding motivation Barycentric Map Construction –Worked example –The linear system Drawbacks

Problem Definition Graph Drawing: Given a graph G = (V, E) we seek an injective map (embedding) f: V(G) Space such that G ’s connectivity is preserved. For this discussion: Space is. Edges are straight line segments.

Background Early graph drawing algorithms: P. Eades (1984) T. Kamada & S. Kawai (1988) T. Fruchterman & E. Reingold (1991) These algorithms are force-directed methods. (a.k.a. spring embedders) –Vertices: steel rings –Edges: springs –Attractive/repulsive forces exist between vertices. –System reaches equilibrium at minimum energy.

Background: Tutte Embedding William Thomas Tutte (May 14, 1917 – May 2, 2002) was a British, later Canadian, mathematician and codebreaker. Tutte devised the first known algorithmic treatment (1963) for producing drawings for 3-connected planar graphs. Tutte constructed an embedding using barycentric mappings. The result is guaranteed to be a plane drawing of the graph. William T. Tutte.

Outline Problem definition & Background Barycentric coordinates & Definitions Tutte embedding motivation Barycentric Map Construction –Worked example –The linear system Drawbacks

Overview of barycentric coordinates Special kind of local coordinates Express location of point w.r.t. a given triangle. Developed by Möbius in the 19 th century. Wachspress extended them to arbitrary convex polygons (1975). Introduced to computer graphics by Alfeld et al. (1996)

Why barycentric? is the point where the medians are concurrent. is called the barycenter or centroid and in physics it represents the center of mass. If then can be easily calculated as: We want to extend this so that we can express every point in terms of the vertices of a polygon.

Convex Combinations If is a polygon with vertices then we wish to find coordinates such that for Note that if then lies inside the convex hull.

Useful definitions We say that a representation of G is barycentric relative to a subset J of V(G) if for each v not in J the coordinates f(v) constitute the barycenter of the images of the neighbors of v. where k-connected graph: If is connected and not a complete graph, its vertex connectivity is the size of the smallest separating set in. We say that is k-connected if k. e.g. The minimum cardinality of the separating set of a 3-connected graph is 3.

Useful definitions (2) Given H ≤ S G, define relation ~ on E(G)-E(H) : e ~ e 0 if ∃ walk w starting with e, ending with e 0, s.t. no internal vertex of w is in H. Bridge: a subgraph B of G-E(H) if it is induced by ~. A peripheral polygon: A polygonal face of is called peripheral if has at most 1 bridge in. H Vertices of attachment B B

Outline Problem definition & Background Barycentric coordinates & Definitions Tutte embedding motivation Barycentric Map Construction –Worked example –The linear system Drawbacks

Tutte embedding motivation The idea is that if we can identify a peripheral P then its bridge B (if is exists) always avoids “all other bridges”… (True—there aren’t any others!) This means the bridge is transferable to the interior region and hence P can act as the fixed external boundary of the drawing. All that remains then is the placement of the vertices in the interior.

Theorem: If M is a planar mesh of a nodally 3-connected graph G then each member of M is peripheral. In other words, Tutte proved that any face of a 3-connected planar graph is a peripheral polygon. This implies that when creating the embedding we can pick any face and make it the outer face (convex hull) of the drawing. Tutte embedding motivation (2) v1v1 v2v2 v3v3 v4v4 v5v5

Outline Problem definition & Background Barycentric coordinates & Definitions Tutte embedding motivation Barycentric Map Construction –Worked example –The linear system Drawbacks

Barycentric mapping construction Steps: 1.Let J be a peripheral polygon of a 3-connected graph G with no Kuratowski subgraphs ( K 3,3 and K 5 ). 2.We denote the set of nodes of G in J by V(J), and |V(J)| = n. Suppose there are at least 3 nodes of G in the vertex set of J. 3.Let Q be a geometrical n -sided convex polygon in Euclidean plane. 4.Let f be a 1-1 mapping of V(J) onto the set of vertices of Q s.t. the cyclic order of nodes in J agrees, under f, with the cyclic order of vertices of Q. 5.We write m= |V(G)| and enumerate the vertices of G as v 1, v 2, v 3, …, v m so the first n are the nodes of G in J. 6.We extend f to the other vertices of G by the following rule. If n < i ≤ m let N(i) be the set of all vertices of G adjacent to v i

Barycentric mapping construction (2) 6.For each v i in N(i) let a unit mass m j to be placed at the point f(v i ). Then f(v i ) is required to be the centroid of the masses m j. 7.To investigate this requirement set up a system of Cartesian coordinates, denoting the coordinates of f(v i ), 1 ≤ i ≤ m, by ( v ix, v iy ). 8. Define a matrix K(G) = {C ij }, 1 ≤ (i,j) ≤ m, as follows. –If i ≠ j then C ij = -(number of edges joining v i and v j ) –If i = j then C ij = deg(v i ) 9.Then the barycentric requirement specifies coordinates v ix, v iy for n < j ≤ m as the solutions to the two linear systems C ij v ix = 0 C ij v iy = 0 where n < i ≤ m. For 1 ≤ j ≤ n the coordinates are already known.

Example G:G: Consider the peripheral cycle J, V(J) = {v 1, v 2, v 3 } v1v1 v2v2 v3v3 v4v4 v5v5 v 1 (3,6) v 2 (0,3) v 3 (4,1) G is 3-connected with unique cut set {v 2, v 3, v 4 } x y

Example (2) V(J) = {v 1, v 2, v 3 } N(4) = {v 1, v 2, v 3, v 5 } N(5) = {v 2, v 3, v 4 } K(G) = Form the 2 linear systems for i = 4, v1v1 v2v2 v3v3 v4v4 v5v5 G:G:

Example (3) The linear systems C 41 v 1x + C 42 v 2x + C 43 v 3x + C 44 v 4x + C 45 v 5x = 0 → 4v 4x -7 = v 5x C 51 v 1x + C 52 v 2x + C 53 v 3x + C 54 v 4x + C 55 v 5x = 0 → -v 4x +3 v 5x = 4 C 41 v 1y + C 42 v 2y + C 43 v 3y + C 44 v 4y + C 45 v 5y = 0 → 4v 4y - v 5y = 10 C 51 v 1y + C 52 v 2y + C 53 v 3y + C 54 v 4y + C 55 v 5y = 0 → -v 4y +3 v 5y = 4 Solutions v 4 (25/11, 34/11) v 5 (23/11, 26/11)

Example: Tutte embedding v 1 (3,6) v 2 (0,3) v 3 (4,1) v 4 (25/11, 34/11) v 5 (23/11, 26/11) x y

The linear system Is the linear system always consistent? Yes, it is! Proof: –Recall matrix K(G). It was defined as K(G) = {C ij }, 1 ≤ (i,j) ≤ m. –If i ≠ j then C ij = -(number of edges joining v i and v j ) –If i = j then C ij = deg(v i ) –Observe that this means we can write K(G) as K(G) = -A+D where A is the adjacency matrix of G and D is diagonal matrix of vertex degrees. –But that’s the Laplacian of G ! i.e., K = -L.

The linear system (2) –Let K 1 be the matrix obtained from K(G) by striking out the first n rows and columns. e.g. K(G) = –Let G 0 be the graph obtained from G by contracting all the edges of J while maintaining the degrees G0:G0: v 123 v4v4 v5v5 K 1 =

The linear system (3) For a suitable enumeration of V(G 0 ), K 1 is obtained from K(G 0 ) by striking out the first row and column. -L(G 0 ) = K(G 0 ) = That is, K 1 = -L 11. But then the det(K 1 )= det(-L 11 ) = t(G) is the number of spanning trees of G 0. det(-L 11 ) = = G0:G0: v 123 v4v4 v5v ^ ^ ^

The linear system (4) –The number t(G) is non-zero since G 0 is connected. Edge contraction preserves connectedness. –This implies that det(K 1 ) ≠ 0 and the hence the linear systems always have a unique solution.

Outline Problem definition & Background Barycentric coordinates & Definitions Tutte embedding motivation Barycentric Map Construction –Worked example –The linear system Drawbacks

Drawbacks of Tutte Embedding Only applies to 3-connected planar graphs. Works only for small graphs (|V| < 100). The resulting drawing is not always “aesthetically pleasing.” Tutte representation: Dodecahedron Le(C60)

References Alen Orbanić, Tomaž Pisanski, Marko Boben, and Ante Graovac. “Drawing methods for 3-connected planar graphs.” Math/Chem/Comp 2002, Croatia William T. Tutte. “How to draw a graph.” Proc. London Math. Society, 13(52):743  768, 1963.

Thank you! Questions?