Show that the graph below is a planar graph by applying the planarity algorithm and draw it so that no two edges intersect.
- STEP 1
There are 6 vertices so re-draw these 6 vertices connected with edges to form a hexagon
Find a Hamiltonian cycle in the original graph and label the vertices of the polygon in the order of the cycle
Hamiltonian cycle: ACBEDFA
- STEP 2
Draw all of the remaining edges from the original graph on the inside of the polygon and make a list of these edges
Inside edges: AB, AE, AD, CE, EF
- STEP 3
Label the first edge in that list, AB, (I)
Inside edges: AB (I), AE, AD, CE, EF
- STEP 4
Edge CE is the only edge that intersects AB, so label it with the opposite label, (O)
Inside edges: AB (I), AE, AD, CE (O), EF
There are no other unlabelled edges that intersect with edge CE, so return to STEP 3
- STEP 3
Choose the next unlabelled edge from the list of inside edges, AE, and label it (I)
Inside edges: AB (I), AE (I), AD, CE (O), EF
- STEP 4
There are no unlabelled edges that intersect edge AE, so return to STEP 3
- STEP 3
Choose the next unlabelled edges from the list of inside edges, AD, and label it (I)
Inside edges: AB (I), AE (I), AD (I), CE (O), EF
- STEP 4
Edge EF is the only edge that intersects AD, so label it with the opposite label, (O)
Inside edges: AB (I), AE (I), AD (I), CE (O), EF (O)
All edges are now labelled so the graph is planar
Re-draw the graph with edges labelled (I) inside the polygon and the edges labelled (O) outside the polygon