In topological graph theory, a 1-planar graph is a graph that can be drawn in the Euclidean plane in such a way that each edge has at most one crossing point, where it crosses a single additional edge.
1-planar graphs were first studied by Ringel (1965), who showed that they can be colored with at most seven colors. Later, the precise number of colors needed to color these graphs, in the worst case, was shown to be six. The example of the complete graph K6, which is 1-planar, shows that 1-planar graphs may sometimes require six colors. However, the proof that six colors are always enough is more complicated.
Ringel's motivation was in trying to solve a variation of total coloring for planar graphs, in which one simultaneously colors the vertices and faces of a planar graph in such a way that no two adjacent vertices have the same color, no two adjacent faces have the same color, and no vertex and face that are adjacent to each other have the same color. This can obviously be done using eight colors by applying the four color theorem to the given graph and its dual graph separately, using two disjoint sets of four colors. However, fewer colors may be obtained by forming an auxiliary graph that has a vertex for each vertex or face of the given planar graph, and in which two auxiliary graph vertices are adjacent whenever they correspond to adjacent features of the given planar graph. A vertex coloring of the auxiliary graph corresponds to a vertex-face coloring of the original planar graph. This auxiliary graph is 1-planar, from which it follows that Ringel's vertex-face coloring problem may also be solved with six colors. The graph K6 cannot be formed as an auxiliary graph in this way, but nevertheless the vertex-face coloring problem also sometimes requires six colors; for instance, if the planar graph to be colored is a triangular prism, then its eleven vertices and faces require six colors, because no three of them may be given a single color.
Every 1-planar graph with n vertices has at most 4n − 8 edges. More strongly, each 1-planar drawing has at most n − 2 crossings; removing one edge from each crossing pair of edges leaves a planar graph, which can have at most 3n − 6 edges, from which the 4n − 8 bound on the number of edges in the original 1-planar graph immediately follows. However, unlike planar graphs (for which all maximal planar graphs on a given vertex set have the same number of edges as each other), there exist maximal 1-planar graphs (graphs to which no additional edges can be added while preserving 1-planarity) that have significantly fewer than 4n − 8 edges. The bound of 4n − 8 on the maximum possible number of edges in a 1-planar graph can be used to show that the complete graph K7 on seven vertices is not 1-planar, because this graph has 21 edges and in this case 4n − 8 = 20 < 21.
A 1-planar graph is said to be an optimal 1-planar graph if it has exactly 4n − 8 edges, the maximum possible. In a 1-planar embedding of an optimal 1-planar graph, the uncrossed edges necessarily form a quadrangulation (a polyhedral graph in which every face is a quadrilateral). Every quadrangulation gives rise to an optimal 1-planar graph in this way, by adding the two diagonals to each of its quadrilateral faces. It follows that every optimal 1-planar graph is Eulerian (all of its vertices have even degree), that the minimum degree in such a graph is six, and that every optimal 1-planar graph has at least eight vertices of degree exactly six. Additionally, every optimal 1-planar graph is 4-vertex-connected, and every 4-vertex cut in such a graph is a separating cycle in the underlying quadrangulation.
The graphs that have straight 1-planar drawings (that is, drawings in which each edge is represented by a line segment, and in which each line segment is crossed by at most one other edge) have a slightly tighter bound of 4n − 9 on the maximum number of edges, achieved by infinitely many graphs.
Complete multipartite graphs
A complete classification of the 1-planar complete graphs, complete bipartite graphs, and more generally complete multipartite graphs is known. Every complete bipartite graph of the form K2,n is 1-planar, as is every complete tripartite graph of the form K1,1,n. Other than these infinite sets of examples, the only complete multipartite 1-planar graphs are K6, K1,1,1,6, K1,1,2,3, K2,2,2,2, K1,1,1,2,2, and their subgraphs. The minimal non-1-planar complete multipartite graphs are K3,7, K4,5, K1,3,4, K2,3,3, and K1,1,1,1,3. For instance, the complete bipartite graph K3,6 is 1-planar because it is a subgraph of K1,1,1,6, but K3,7 is not 1-planar.
It is NP-complete to test whether a given graph is 1-planar, and it remains NP-complete even for the graphs formed from planar graphs by adding a single edge and for graphs of bounded bandwidth. The problem is fixed-parameter tractable when parameterized by cyclomatic number or by tree-depth, so it may be solved in polynomial time when those parameters are bounded.
In contrast to Fáry's theorem for planar graphs, not every 1-planar graph may be drawn 1-planarly with straight line segments for its edges. However, testing whether a 1-planar drawing may be straightened in this way can be done in polynomial time. Additionally, every 3-vertex-connected 1-planar graph has a 1-planar drawing in which at most one edge, on the outer face of the drawing, has a bend in it. This drawing can be constructed in linear time from a 1-planar embedding of the graph. The 1-planar graphs have bounded book thickness, but some 1-planar graphs including K2,2,2,2 have book thickness at least four.
1-planar graphs have bounded local treewidth, meaning that there is a (linear) function f such that the 1-planar graphs of diameter d have treewidth at most f(d); the same property holds more generally for the graphs that can be embedded onto a surface of bounded genus with a bounded number of crossings per edge. They also have separators, small sets of vertices the removal of which decomposes the graph into connected components whose size is a constant fraction of the size of the whole graph. Based on these properties, numerous algorithms for planar graphs, such as Baker's technique for designing approximation algorithms, can be extended to 1-planar graphs. For instance, this method leads to a polynomial-time approximation scheme for the maximum independent set of a 1-planar graph.
The class of graphs analogous to outerplanar graphs for 1-planarity are called the outer-1-planar graphs. These are graphs that can be drawn in a disk, with the vertices on the boundary of the disk, and with at most one crossing per edge. These graphs can always be drawn (in an outer-1-planar way) with straight edges and right angle crossings. By using dynamic programming on the SPQR tree of a given graph, it is possible to test whether it is outer-1-planar in linear time. The triconnected components of the graph (nodes of the SPQR tree) can consist only of cycle graphs, bond graphs, and four-vertex complete graphs, from which it also follows that outer-1-planar graphs are planar and have treewidth at most three. Unlike 1-planar graphs, the outer-1-planar graphs have a characterization in terms of graph minors: a graph is outer-1-planar if and only if it avoids each of a set of five forbidden minors.
The 1-planar graphs include the 4-map graphs, graphs formed from the adjacencies of regions in the plane with at most four regions meeting in any point. Conversely, every optimal 1-planar graph is a 4-map graph. However, 1-planar graphs that are not optimal 1-planar may not be map graphs.
1-planar graphs have been generalized to k-planar graphs, graphs for which each edge is crossed at most k times. Ringel defined the local crossing number of G to be the least non-negative integer k such that G has a k-planar drawing. Because the local crossing number is the maximum degree of the intersection graph of the edges of an optimal drawing, and the thickness (minimum number of planar graphs into which the edges can be partitioned) can be seen as the chromatic number of an intersection graph of an appropriate drawing, it follows from Brooks' theorem that the thickness is at most one plus the local crossing number. The k-planar graphs with n vertices have at most O(k1/2n) edges, and treewidth O((kn)1/2). A shallow minor of a k-planar graph, with depth d, is itself a (2d + 1)k-planar graph, so the shallow minors of 1-planar graphs and of k-planar graphs are also sparse graphs, implying that the 1-planar and k-planar graphs have bounded expansion.
Nonplanar graphs may also be parameterized by their crossing number, the minimum number of pairs of edges that cross in any drawing of the graph. A graph with crossing number k is necessarily k-planar, but not necessarily vice versa. For instance, the Heawood graph has crossing number 3, but it is not necessary for its three crossings to all occur on the same edge of the graph, so it is 1-planar, and can in fact be drawn in a way that simultaneously optimizes the total number of crossings and the crossings per edge.
Another related concept for nonplanar graphs is graph skewness, the minimal number of edges that must be removed to make a graph planar.
- Ringel, Gerhard (1965), "Ein Sechsfarbenproblem auf der Kugel", Abhandlungen aus dem Mathematischen Seminar der Universität Hamburg (in German), 29: 107–117, doi:10.1007/BF02996313, MR 0187232.
- Borodin, O. V. (1984), "Solution of the Ringel problem on vertex-face coloring of planar graphs and coloring of 1-planar graphs", Metody Diskretnogo Analiza (41): 12–26, 108, MR 832128.
- Albertson, Michael O.; Mohar, Bojan (2006), "Coloring vertices and faces of locally planar graphs" (PDF), Graphs and Combinatorics, 22 (3): 289–295, doi:10.1007/s00373-006-0653-4, MR 2264852.
- Schumacher, H. (1986), "Zur Struktur 1-planarer Graphen", Mathematische Nachrichten (in German), 125: 291–300, MR 847368.
- Czap, Július; Hudák, Dávid (2013), "On drawings and decompositions of 1-planar graphs", Electronic Journal of Combinatorics, 20 (2), P54.
- Brandenburg, Franz Josef; Eppstein, David; Gleißner, Andreas; Goodrich, Michael T.; Hanauer, Kathrin; Reislhuber, Josef (2013), "On the density of maximal 1-planar graphs", in Didimo, Walter; Patrignani, Maurizio, Proc. 20th Int. Symp. Graph Drawing.
- Czap, Július; Hudák, Dávid (2012), "1-planarity of complete multipartite graphs", Discrete Applied Mathematics, 160 (4-5): 505–512, doi:10.1016/j.dam.2011.11.014, MR 2876333.
- Suzuki, Yusuke (2010), "Re-embeddings of maximum 1-planar graphs", SIAM Journal on Discrete Mathematics, 24 (4): 1527–1540, doi:10.1137/090746835, MR 2746706.
- Didimo, Walter (2013), "Density of straight-line 1-planar graph drawings", Information Processing Letters, 113 (7): 236–240, doi:10.1016/j.ipl.2013.01.013, MR 3017985.
- Grigoriev, Alexander; Bodlaender, Hans L. (2007), "Algorithms for graphs embeddable with few crossings per edge", Algorithmica, 49 (1): 1–11, doi:10.1007/s00453-007-0010-x, MR 2344391.
- Korzhik, Vladimir P.; Mohar, Bojan (2009), "Minimal obstructions for 1-immersions and hardness of 1-planarity testing", in Tollis, Ioannis G.; Patrignani, Maurizio, Graph Drawing: 16th International Symposium, GD 2008, Heraklion, Crete, Greece, September 21-24, 2008, Revised Papers, Lecture Notes in Computer Science, 5417, Springer, pp. 302–312, doi:10.1007/978-3-642-00219-9_29.
- Cabello, Sergio; Mohar, Bojan (2012), Adding one edge to planar graphs makes crossing number and 1-planarity hard, arXiv:. Expanded version of a paper from the 17th ACM Symposium on Computational Geometry, 2010.
- Bannister, Michael J.; Cabello, Sergio; Eppstein, David (2013), "Parameterized complexity of 1-planarity", Algorithms and Data Structures Symposium (WADS 2013), arXiv:.
- Eggleton, Roger B. (1986), "Rectilinear drawings of graphs", Utilitas Mathematica, 29: 149–172, MR 846198.
- Thomassen, Carsten (1988), "Rectilinear drawings of graphs", Journal of Graph Theory, 12 (3): 335–341, doi:10.1002/jgt.3190120306, MR 956195.
- Hong, Seok-Hee; Eades, Peter; Liotta, Giuseppe; Poon, Sheung-Hung (2012), "Fáry's theorem for 1-planar graphs", in Gudmundsson, Joachim; Mestre, Julián; Viglas, Taso, Computing and Combinatorics: 18th Annual International Conference, COCOON 2012, Sydney, Australia, August 20-22, 2012, Proceedings, Lecture Notes in Computer Science, 7434, Springer, pp. 335–346, doi:10.1007/978-3-642-32241-9_29.
- Alam, Md. Jawaherul; Brandenburg, Franz J.; Kobourov, Stephen G. (2013), "Straight-line grid drawings of 3-connected 1-planar graphs", Graph Drawing: 21st International Symposium, GD 2013, Bordeaux, France, September 23-25, 2013, Revised Selected Papers (PDF), Lecture Notes in Computer Science, 8242, pp. 83–94, doi:10.1007/978-3-319-03841-4_8.
- Bekos, Michael A.; Bruckdorfer, Till; Kaufmann, Michael; Raftopoulou, Chrysanthi (2015), "1-Planar graphs have constant book thickness", Algorithms – ESA 2015, Lecture Notes in Computer Science, 9294, Springer, pp. 130–141, doi:10.1007/978-3-662-48350-3_12.
- Bekos, Michael; Kaufmann, Michael; Zielke, Christian (2015), "The book embedding problem from a SAT-solving perspective", Proc. 23rd International Symposium on Graph Drawing and Network Visualization (GD 2015), pp. 113–125.
- Grigoriev & Bodlaender (2007). Grigoriev and Bodlaender state their results only for graphs with a known 1-planar embedding, and use a tree decomposition of a planarization of the embedding with crossings replaced by degree-four vertices; however, their methods straightforwardly imply bounded local treewidth of the original 1-planar graph, allowing Baker's method to be applied directly to it without knowing the embedding.
- Dehkordi, Hooman Reisi; Eades, Peter (2012), "Every outer-1-plane graph has a right angle crossing drawing", International Journal of Computational Geometry & Applications, 22 (6): 543–557, doi:10.1142/S021819591250015X, MR 3042921.
- Hong, Seok-Hee; Eades, Peter; Katoh, Naoki; Liotta, Giuseppe; Schweitzer, Pascal; Suzuki, Yusuke (2013), "A linear-time algorithm for testing outer-1-planarity", in Wismath, Stephen; Wolff, Alexander, 21st International Symposium, GD 2013, Bordeaux, France, September 23-25, 2013, Revised Selected Papers, Lecture Notes in Computer Science, 8242, pp. 71–82, doi:10.1007/978-3-319-03841-4_7.
- Auer, Christopher; Bachmaier, Christian; Brandenburg, Franz J.; Gleißner, Andreas; Hanauer, Kathrin; Neuwirth, Daniel; Reislhuber, Josef (2013), "Recognizing outer 1-planar graphs in linear time", in Wismath, Stephen; Wolff, Alexander, 21st International Symposium, GD 2013, Bordeaux, France, September 23-25, 2013, Revised Selected Papers, Lecture Notes in Computer Science, 8242, pp. 107–118, doi:10.1007/978-3-319-03841-4_10.
- Chen, Zhi-Zhong; Grigni, Michelangelo; Papadimitriou, Christos H. (2002), "Map graphs", Journal of the ACM, 49 (2): 127–138, doi:10.1145/506147.506148, MR 2147819.
- Kainen, Paul (1973), "Thickness and coarseness of graphs", Abh. Math. Sem. Univ. Hamburg, 39: 88–95, doi:10.1007/BF02992822, MR 0335322.
- Pach, János; Tóth, Géza (1997), "Graphs drawn with few crossings per edge", Combinatorica, 17 (3): 427–439, doi:10.1007/BF01215922, MR 1606052.
- Dujmović, Vida; Eppstein, David; Wood, David R. (2015), "Genus, treewidth, and local crossing number", Proc. 23rd International Symposium on Graph Drawing and Network Visualization (GD 2015), pp. 77–88, arXiv:.
- Nešetřil, Jaroslav; Ossona de Mendez, Patrice (2012), Sparsity: Graphs, Structures, and Algorithms, Algorithms and Combinatorics, 28, Springer, Theorem 14.4, p. 321, doi:10.1007/978-3-642-27875-4, ISBN 978-3-642-27874-7, MR 2920058.
- Kobourov, Stephen; Liotta, Giuseppe; Montecchiani, Fabrizio (2017), An annotated bibliography on 1-planarity, arXiv: