[Math] planar graph calculator

graph theoryplanar-graphs

I just took a exam on graph theory and there was one question that I'm not sure if I answered correctly. Is there any tool I can use to check if a graph is planar or not? The graph was a $K_6$ graph where two vertices had an edge missing. So it had the degree sequence $5\,5\,5\,5\,4\,4$.

Best Answer

There is a whole wikipedia page on planarity testing.

The article contains for example the classic path addition method of Hopcroft and Tarjan. You can find it in the LEDA c++ library.