Drawing a graph http://mathworld.wolfram.com/GraphEmbedding.html.

Slides:



Advertisements
Similar presentations
Certifying algorithms Algorithms and Networks. Certifying algorithms What is it? Examples: –Euler tour –Bipartite graphs –Flow –Planarity Certifying algorithms2.
Advertisements

Simple Graph Warmup. Cycles in Simple Graphs A cycle in a simple graph is a sequence of vertices v 0, …, v n for some n>0, where v 0, ….v n-1 are distinct,
Chapter 9 Graphs.
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,
Planar / Non-Planar Graphs Gabriel Laden CS146 – Spring 2004 Dr. Sin-Min Lee.
Graph Theory Chapter 9 Planar Graphs 大葉大學 資訊工程系 黃鈴玲.
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
Data Structures, Spring 2004 © L. Joskowicz 1 Data Structures – LECTURE 14 Strongly connected components Definition and motivation Algorithm Chapter 22.5.
Lists A list is a finite, ordered sequence of data items. Two Implementations –Arrays –Linked Lists.
Computational Geometry Seminar Lecture 1
Drawing of G. Planar Embedding of G Chord A chord of a cycle C is an edge not in C whose endpoints lie in C.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
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.
Problem: Induced Planar Graphs Tim Hayes Mentor: Dr. Fiorini.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 4, Monday, September 8.
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.
Problem: Induced Planar Graphs Tim Hayes Mentor: Dr. Fiorini.
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.
More Graphs, Subgraphs and Trees Planarity and Coloring.
Module 5 – Networks and Decision Mathematics Chapter 23 – Undirected Graphs.
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.
VLSI Layout Algorithms CSE 6404 A 46 B 65 C 11 D 56 E 23 F 8 H 37 G 19 I 12J 14 K 27 X=(AB*CD)+ (A+D)+(A(B+C)) Y = (A(B+C)+AC+ D+A(BC+D)) Dr. Md. Saidur.
Agenda Review: –Planar Graphs Lecture Content:  Concepts of Trees  Spanning Trees  Binary Trees Exercise.
Stefan Felsner planar graph G planar embedding of G A graph G is planar if it can be drawn on the plane with no crossing edges.
Some NP-complete Problems in Graph Theory Prof. Sin-Min Lee.
ساختمانهای گسسته دانشگاه صنعتی شاهرود – فروردین 1392.
An Introduction to Graph Theory
Chap. 11 Graph Theory and Applications 1. Directed Graph 2.
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
Graph Concepts and Algorithms Using LEDA By Caroline Moore and Carmen Frerichs (252a-at and 252a-ao) each graph in the presentation was created using gw_basic_graph_algorithms.
Graph Concepts Illustrated Using The Leda Library Amanuel Lemma CS252 Algorithms.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Planarity Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT.
Planar Graphs prepared and Instructed by Arie Girshson Semester B, 2014 June 2014Planar Graphs1.
Chapter 7 Planar Graphs 大葉大學 資訊工程系 黃鈴玲  7.2 Planar Embeddings  7.3 Euler’s Formula and Consequences  7.4 Characterization of Planar Graphs.
Spanning Trees Alyce Brady CS 510: Computer Algorithms.
Planar Graphs (part 2) prepared and Instructed by Gideon Blocq Semester B, 2014 June 2014Planar Graphs (part 2)1.
Graphs. Representations of graphs : undirected graph An undirected graph G have five vertices and seven edges An adjacency-list representation of G The.
Great Theoretical Ideas In Computer Science
Outline 1 Properties of Planar Graphs 5/4/2018.
Discrete Mathematics Graph: Planar Graph Yuan Luo
Characteristics of Planar Graphs
Three Houses-Three Utilities Problem
Graph Theory CSRU1400, Fall 2007 Ellen Zhang.
Computational Geometry 2
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 and Euler’s Formula
Planarity Cox, Sherman, Tong.
Graph.
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.
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
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.
Drawing a graph
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.
Exam 3 review Chapter 9- Graphs.
Drawing a graph
Presentation transcript:

Drawing a graph http://mathworld.wolfram.com/GraphEmbedding.html

https://reference.wolfram.com/language/ref/GraphPlot.html Graph Theory and Complex Networks by Maarten van Steen

Graph Theory and Complex Networks by Maarten van Steen

What is a planar embedding?      drp.math.umd.edu/Project-Slides/Characteristics of Planar Graphs.pptx What is a planar embedding? K4 http://www.boost.org/doc/libs/1_49_0/libs/graph/doc/figs/planar_plane_straight_line.png

Kuratowski’s Theorem (1930) A graph is planar if and only if it does not contain a subdivision of K5 or K3,3. http://www.math.ucla.edu/~mwilliams/pdf/petersen.pdf

Kuratowski Subgraphs What is a subdivision? K5 K3,3 http://www.boost.org/doc/libs/1_49_0/libs/graph/doc/figs/k_5_and_k_3_3.png What is a subdivision? Kuratowski Subgraphs http://www.personal.kent.edu/~rmuhamma/GraphTheory/MyGraphTheory/Diagrams/g83.gif http://www.personal.kent.edu/~rmuhamma/GraphTheory/MyGraphTheory/Diagrams/g82.gif

For a planar connected graph |V| - |E| + |F| = 2 Euler characteristic (simple form): = number of vertices – number of edges + number of faces Or in short-hand, = |V| - |E| + |F| where V = set of vertices E = set of edges F = set of faces = set of regions & the notation |X| = the number of elements in the set X. For a planar connected graph |V| - |E| + |F| = 2

Defn: A tree is a connected graph that does not contain a cycle. A forest is a graph whose components are trees. Lemma 2.1: Any tree with n vertices has n-1 edges. χ = 8 – 7 + 1 = 2 χ = 8 – 8 + 2 = 2 χ = 8 – 9 + 3= 2

= |V| – |E| + |F| = 1 – 0 + 1 = 2

= |V| – |E| + |F| = 2 – 1 + 1 = 2

= |V| – |E| + |F| = 3 – 2 + 1 = 2

= |V| – |E| + |F| = 4 – 3 + 1 = 2

= |V| – |E| + |F| = 5 – 4 + 1 = 2

= |V| – |E| + |F| = 8 – 7 + 1 = 2

= |V| – |E| + |F| = 8 – 8 + 2 = 2 Not a tree.

= 8 – 9 + 3 = 2 Not a tree. = |V| – |E| + |F| = 8 – 9 + 3 = 2 For the brave of heart, consider graphs drawn on other surfaces such as a torus or Klein bottle. For fun, see http://youtu.be/Q6DLWJX5tbs or www.geometrygames.org. Not a tree.

Euler’s fomula: For a planar connected graph |V| - |E| + |F| = 2 where V = set of vertices, E = set of edges, F = set of faces = set of regions Defn: A tree (or acyclic graph) is a connected graph that does not contain a cycle. A forest is a graph whose components are trees. Lemma 2.1: Any tree with n vertices has n-1 edges. Thm 2.9: For any connected planar graph with |V| ≥ 2, |E| ≤ 3|V| - 6 Cor 2.4: K5 is nonplanar. Thm 2.10: K3,3 is nonplanar. Cor: A graph is planar if and only if it does not contain a subdivision of K5 or K3,3.