What does the shape of a graph determine? — From planarity to the four-color theorem