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,
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
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.
Breadth-First Search Seminar – Networking Algorithms CS and EE Dept. Lulea University of Technology 27 Jan Mohammad Reza Akhavan.
Graph Theory Chapter 9 Planar Graphs 大葉大學 資訊工程系 黃鈴玲.
Data Structures, Spring 2004 © L. Joskowicz 1 Data Structures – LECTURE 14 Strongly connected components Definition and motivation Algorithm Chapter 22.5.
What is the next line of the proof? a). Let G be a graph with k vertices. b). Assume the theorem holds for all graphs with k+1 vertices. c). Let G be a.
Lists A list is a finite, ordered sequence of data items. Two Implementations –Arrays –Linked Lists.
Computational Geometry Seminar Lecture 1
Graph Theory Ming-Jer Tsai. Outline Graph Graph Theory Grades Q & A.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
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.
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.
More Graphs, Subgraphs and Trees Planarity and Coloring.
Module 5 – Networks and Decision Mathematics Chapter 23 – Undirected Graphs.
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.
MAT 2720 Discrete Mathematics Section 8.7 Planar Graphs
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.
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.
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.
What is the chromatic number of this graph?. We have found a four-coloring. How do we know the chromatic number is not less than four?
Chapter 7 Planar Graphs 大葉大學 資訊工程系 黃鈴玲  7.2 Planar Embeddings  7.3 Euler’s Formula and Consequences  7.4 Characterization of Planar Graphs.
CSC 252 Pallavi Moorthy Homework 5. 1.) Vertices, edges From cd../../handout/demo/graph_alg/gw_shortest_path.
Certifying Algorithms [MNS11]R.M. McConnell, K. Mehlhorn, S. Näher, P. Schweitzer. Certifying algorithms. Computer Science Review, 5(2), , 2011.
Planar Graphs (part 2) prepared and Instructed by Gideon Blocq Semester B, 2014 June 2014Planar Graphs (part 2)1.
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.
Clustered Planarity = Flat Clustered Planarity
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
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
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
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.
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 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 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| = 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.

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