Abstract
A graph is 1-planar if it can be embedded in the plane with at most one crossing per edge. It is known that the problem of testing 1-planarity of a graph is NP-complete. In this paper, we study outer-1-planar graphs. A graph is outer-1-planar if it has an embedding in which every vertex is on the outer face and each edge has at most one crossing. We present a linear time algorithm to test whether a given graph is outer-1-planar. The algorithm can be used to produce an outer-1-planar embedding in linear time if it exists.
Similar content being viewed by others
References
Alon, N., Feldheim, ON.: Drawing outerplanar graphs. (2012). arXiv:1208.0744 [math.CO]
Auer, C., Bachmaier, C., Brandenburg, F.J., Gleißner, A., Hanauer, K., Neuwirth, D., Reislhuber, J.: Recognizing outer 1-planar graphs in linear time. In: Wismath, S., Wolff, A. (eds.): Graph Drawing 21st International Symposium, GD 2013, Bordeaux, France, September 23–25, 2013, Revised Selected Papers, vol. 8242 of Lecture Notes in Computer Science, pp. 107–118. Springer (2013)
Bannister, M.J., Cabello, S., Eppstein, D.: Parameterized complexity of 1-planarity. In: Dehne, F., Solis-Oba, R., Sack, J.-R. (eds.) WADS, vol. 8037 of Lecture Notes in Computer Science, pp. 97–108. Springer (2013)
Bernhart, F., Kainen, P.C.: The book thickness of a graph. J. Comb. Theory Ser. B 27(3), 320–331 (1979)
Borodin, O.V.: Solution of the Ringel problem on vertex-face coloring of planar graphs and coloring of 1-planar graphs. Metody Diskret. Analiz 41(12), 108 (1984)
Cabello, S., Mohar, B.: Adding one edge to planar graphs makes crossing number and 1-planarity hard. CoRR, abs/1203.5944 (2012)
Chen, Z.-Z., Kouno, M.: A linear-time algorithm for 7-coloring 1-planar graphs. Mathematical Foundations of Computer Science (MFCS) 2003. vol. 2747 of Lecture Notes in Computer Science, pp. 348–357. Springer, Berlin (2003)
Di Battista, G., Tamassia, R.: On-line maintenance of triconnected components with spqr-trees. Algorithmica 15(4), 302–318 (1996)
Di Giacomo, E., Didimo, W., Liotta, L., Montecchiani, F.: h-quasi planar drawings of bounded treewidth graphs in linear area. In: Golumbic, M.C., Stern, M., Levy, A., Morgenstern, G. (eds.) International Workshop on Graph-Theoretic Concepts in Computer Science (WG), vol. 7551 of Lecture Notes in Computer Science, pp. 91–102. Springer (2012)
Dehkordi, H.R., Eades, P.: Every outer-1-plane graph has a right angle crossing drawing. Int. J. Comput. Geom. Appl. 22(6), 543–558 (2012)
Eades, P., Hong, S.-H., Katoh, N., Liotta, G., Schweitzer, P., Suzuki, Y.: Testing maximal 1-planarity of graphs with a rotation system in linear time. Proc. Graph Draw. 2012, 339–345 (2012)
Eades, P., Hong, S.-H., Katoh, N., Liotta, G., Schweitzer, P., Suzuki, Y.: A linear time algorithm for testing maximal 1-planarity of graphs with a rotation system. Theor. Comput. Sci. 513, 65–76 (2013)
Eggleton, R.: Rectilinear drawings of graphs. Util. Math. 29, 149–172 (1986)
Fabrici, I., Madaras, T.: The structure of 1-planar graphs. Discret. Math. 307(7–8), 854–865 (2007)
Frati, F.: Straight-line drawings of outerplanar graphs in o(dn log n) area. Comput. Geom. 45(9), 524–533 (2012)
Grigoriev, A., Bodlaender, H.L.: Algorithms for graphs embeddable with few crossings per edge. Algorithmica 49(1), 1–11 (2007)
Gutwenger, C., Mutzel, P.: A linear time implementation of spqr-trees. In: Marks, J. (ed.) Graph Drawing, volume 1984 of Lecture Notes in Computer Science, pp. 77–90. Springer (2000)
Hong, S.-H., Eades, P., Katoh, N., Liotta, G., Schweitzer, P., Suzuki, Y.: A linear-time algorithm for testing outer-1-planarity. In: Wismath, S., Wolff, A. (eds.): Graph Drawing 21st International Symposium, GD 2013, Bordeaux, France, September 23–25, 2013, Revised Selected Papers, vol. 8242 of Lecture Notes in Computer Science, pp. 71–82. Springer (2013)
Hong, S.-H., Eades, P., Liotta, G., Poon, S.-H.: Fáry’s theorem for 1-planar graphs. In: Proc. of COCOON 2012, Lecture Notes in Computer Science, pp. 335–346 (2012)
Hong, S.-H., Nagamochi, H.: Two-page book embedding and clustered planarity. Technical Report 2009–004, Department of Applied Mathematics and Physics, Graduate School of Informatics, Kyoto University (2009)
Hong, S.-H., Nagamochi, H.: Simpler testing for two-page book embedding of partitioned graphs. Technical Report 2013–001, Department of Applied Mathematics and Physics, Graduate School of Informatics, Kyoto University (2013)
Hong, S.-H., Nagamochi, H.: Simpler algorithms for testing two-page book embedding of partitioned graphs. In: Proc. of COCOON 2014 (to appear)
Hopcroft, J.E., Tarjan, R.E.: Dividing a graph into triconnected components. SIAM J. Comput. 2(3), 135–158 (1973)
Knauer, K.B., Micek, P., Walczak, B.: Outerplanar graph drawings with few slopes. In: Proc. of COCOON 2012, Lecture Notes in Computer Science, pp. 323–334 (2012)
Korzhik, V.P., Mohar, B.: Minimal obstructions for 1-immersions and hardness of 1-planarity testing. J. Gr. Theory 72(1), 30–71 (2013)
Pach, J., Tóth, G.: Graphs drawn with few crossings per edge. Combinatorica 17(3), 427–439 (1997)
Ringel, G.: Ein Sechsfarbenproblem auf der Kugel. Abh. Math. Sem. Univ. Hamburg 29, 107–117 (1965)
Suzuki, Y.: Optimal 1-planar graphs which triangulate other surfaces. Discret. Math. 310(1), 6–11 (2010)
Suzuki, Y.: Re-embeddings of maximum 1-planar graphs. SIAM J. Discret. Math. 24(4), 1527–1540 (2010)
Thomassen, C.: Rectilinear drawings of graphs. J. Gr. Theory 12(3), 335–341 (1988)
Acknowledgments
This research arose at the Port Douglas Workshop on Geometric Graph Theory, June, 2011, in Australia. The workshop was supported by the IPDF funding from the University of Sydney. Hong was partly supported by her ARC (Australian Research Council) Future Fellowship (FT3), Algorithmics for Visual Analytics of Massive Complex Networks. Liotta was partly supported by MIUR project AMANDA (Algorithmics for MAssive and Networked DAta).
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Hong, SH., Eades, P., Katoh, N. et al. A Linear-Time Algorithm for Testing Outer-1-Planarity. Algorithmica 72, 1033–1054 (2015). https://doi.org/10.1007/s00453-014-9890-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-014-9890-8