Questions tagged [planar-graph]

In graph theory, a planar graph is a graph that can be embedded in the plane without edge crossings.

In , a planar graph is a that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. In other words, it can be drawn in such a way that no edges cross each other.

Testing whether a graph is planar or not is called planarity testing. Kuratowski's theorem states that a graph is planar if and only if it does not contain a subgraph that is a subdivision of K5 (the complete graph on five vertices) or K3,3 (the utility graph, a complete bipartite graph on six vertices, three of which connect to each of the other three). Such a subgraph is called a Kuratowski subgraph. There are many algorithms to determine whether a certain graph is planar, one of the best known of which is the Boyer-Myrvold algorithm in O(n) (where n is the number of vertices).

Use this tag if you have questions about planarity testing implementations, libraries, or planar graph issues more generally.

65 questions
0
votes
1 answer

some questions on MST

I am learning the topic of Minimum-Spanning-Tree right now, and I understand the most of it, but I still have some things that I do not understand. I am dealing with undirected weighted graphs. First, I know that finding MST costs O(E*log V). Now, I…
0
votes
1 answer

Puzzle: Planar configuration of straight connecting lines

Puzzle : Given an even number of points in general positions on the plane (that is, no three points co-linear), can you partition the points into pairs and connect the two points of each pair with a single straight line such that the straight lines…
Dubby
  • 984
  • 2
  • 14
  • 26
0
votes
2 answers

leftmost path in planar embedding

I have a directed planar Graph. Therefore I can make a planar embedding. I have to nodes s and t and I would like to find the leftmost path between s and t according to a specific embedding. Left is defined as David described in the comment. That…
Mark Token
  • 25
  • 6
0
votes
0 answers

Planar graph from random points

I'm trying to create a graph with as many straight edges as possible between points without allowing any of the edges to intersect in Java. Basically, I'm trying to make a planar graph with a random amount of points. I somewhat understand how to…
John Smith
  • 617
  • 1
  • 10
  • 19
-3
votes
2 answers

Which algorithm should match this specific Graph

specific question here. Suppose you have a graph where each vertice specifies how many connections they must have to another vertices and the following rules/properties apply: 1- The graph can be incomplete (no need to every vertice to have a…
1 2 3 4
5