Abstract
Orthogonal graph drawings are used in applications such as UML diagrams, VLSI layout, cable plans, and metro maps. We focus on drawing planar graphs and assume that we are given an that describes the desired shape, but not the exact coordinates of a drawing. Our aim is to compute an orthogonal drawing on the grid that has minimum area among all grid drawings that adhere to the given orthogonal representation.
This problem is called orthogonal compaction (OC) and is known to be NP-hard, even for orthogonal representations of cycles [Evans et al. 2022]. We investigate the complexity of OC with respect to several parameters. Among others, we show that OC is fixed-parameter tractable with respect to the most natural of these parameters, namely, the number of of the orthogonal representation: the presence of pairs of kitty corners in an orthogonal representation makes the OC problem hard. Informally speaking, a pair of kitty corners is a pair of reflex corners of a face that point at each other. Accordingly, the number of kitty corners is the number of corners that are involved in some pair of kitty corners.
This research was initiated at Dagstuhl Seminar 21293: Parameterized Complexity in Graph Drawing. Work partially supported by: (i) Dep. of Engineering, Perugia University, grant RICBA21LG: Algoritmi, modelli e sistemi per la rappresentazione visuale di reti, (ii) Engineering and Physical Sciences Research Council (EPSRC) grant EP/V007793/1, (vi) European Research Council (ERC) grant termed PARAPATH.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Bannister, M.J., Cabello, S., Eppstein, D.: Parameterized complexity of 1-planarity. J. Graph Algorithms Appl. 22(1), 23–49 (2018). https://doi.org/10.7155/jgaa.00457
Bannister, M.J., Eppstein, D.: Crossing minimization for 1-page and 2-page drawings of graphs with bounded treewidth. J. Graph Algorithms Appl. 22(4), 577–606 (2018). https://doi.org/10.7155/jgaa.00479
Bannister, M.J., Eppstein, D., Simons, J.A.: Inapproximability of orthogonal compaction. J. Graph Algorithms Appl. 16(3), 651–673 (2012). https://doi.org/10.7155/jgaa.00263
Bannister, M.J., Eppstein, D., Simons, J.A.: Fixed parameter tractability of crossing minimization of almost-trees. In: Wismath, S., Wolff, A. (eds.) GD 2013. LNCS, vol. 8242, pp. 340–351. Springer, Cham (2013). https://doi.org/10.1007/978-3-319-03841-4_30
Bentley, J.L., Ottmann, T.: Algorithms for reporting and counting geometric intersections. IEEE Trans. Comput. 28(9), 643–647 (1979). https://doi.org/10.1109/TC.1979.1675432
Bertolazzi, P., Di Battista, G., Liotta, G., Mannino, C.: Upward drawings of triconnected digraphs. Algorithmica 12(6), 476–497 (1994). https://doi.org/10.1007/BF01188716
Bhore, S., Ganian, R., Montecchiani, F., Nöllenburg, M.: Parameterized algorithms for book embedding problems. J. Graph Algorithms Appl. 24(4), 603–620 (2020). https://doi.org/10.7155/jgaa.00526
Bhore, S., Ganian, R., Montecchiani, F., Nöllenburg, M.: Parameterized algorithms for queue layouts. In: GD 2020. LNCS, vol. 12590, pp. 40–54. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-68766-3_4
Biedl, T.: Small drawings of outerplanar graphs, series-parallel graphs, and other planar graphs. Discrete Comput. Geom. 45(1), 141–160 (2010). https://doi.org/10.1007/s00454-010-9310-z
Binucci, C., Da Lozzo, G., Di Giacomo, E., Didimo, W., Mchedlidze, T., Patrignani, M.: Upward book embeddings of st-graphs. In: Symposium on Computational Geometry (SoCG), vol. 129 of LIPIcs, pp. 1–22. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2019. https://doi.org/10.4230/LIPIcs.SoCG.2019.13
Bridgeman, S.S., Di Battista, G., Didimo, W., Liotta, G., Tamassia, R., Vismara, L.: Turn-regularity and optimal area drawings of orthogonal representations. Comput. Geom. 16(1), 53–93 (2000). https://doi.org/10.1016/S0925-7721(99)00054-1
Chaplick, S., Di Giacomo, E., Frati, F., Ganian, R., Raftopoulou, C.N., Simonov, K.: Parameterized algorithms for upward planarity. arXiv (2022). https://doi.org/10.48550/arXiv.2203.05364
Chaplick, S., Fleszar, K., Lipp, F., Ravsky, A., Verbitsky, O., Wolff, A.: Drawing graphs on few lines and few planes. J. Comput. Geom. 11(1), 433–475 (2020). https://doi.org/10.20382/jocg.v11i1a17
Cygan, M., et al.: Parameterized Algorithms. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21275-3
Da Lozzo, G., Eppstein, D., Goodrich, M.T., Gupta, S.: Subexponential-time and FPT algorithms for embedded flat clustered planarity. In: International Workshop on Graph-Theoretic Concepts in Computer Science (WG), vol. 11159 of LNCS, pp. 111–124. Springer (2018). https://doi.org/10.1007/978-3-030-00256-5_10
Di Battista, G., Eades, P., Tamassia, R., Tollis, I.G.: Graph Drawing: algorithms for the Visualization of Graphs. Prentice-Hall (1999)
Di Battista, G., Tamassia, R.: Algorithms for plane representations of acyclic digraphs. Theor. Comput. Sci. 61, 175–198 (1988). https://doi.org/10.1016/0304-3975(88)90123-5
Di Giacomo, E., Liotta, G., Montecchiani, F.: Orthogonal planarity testing of bounded treewidth graphs. J. Comput. Syst. Sci. 125, 129–148 (2022). https://doi.org/10.1016/j.jcss.2021.11.004
Didimo, W., Gupta, S., Kindermann, P., Liotta, G., Wolff, A., Zehavi, M.: Parameterized approaches to orthogonal compaction. arXiv (2022). https://doi.org/10.48550/arXiv.2210.05019
Downey, R.G., Fellows, M.R.: Fundamentals of parameterized complexity, vol. 4 of TCS. Springer (2013).https://doi.org/10.1007/978-1-4471-5559-1
Dujmović, V., et al.: On the parameterized complexity of layered graph drawing. Algorithmica 52(2), 267–292 (2008). https://doi.org/10.1007/s00453-007-9151-1
Dujmović, V., Fernau, H., Kaufmann, M.: Fixed parameter algorithms for one-sided crossing minimization revisited. J. Discrete Algorithms 6(2), 313–323 (2008). https://doi.org/10.1016/j.jda.2006.12.008
Evans, W.S., Fleszar, K., Kindermann, P., Saeedi, N., Shin, C.-S., Wolff, A.: Minimum rectilinear polygons for given angle sequences. Comput. Geom. 100(101820), 1–39 (2022). https://doi.org/10.1016/j.comgeo.2021.101820
Fomin, F.V., Lokshtanov, D., Saurabh, S., Zehavi, M.: Kernelization: Theory of Parameterized Preprocessing. Cambridge University Press (2019)
Ganian, R., Montecchiani, F., Nöllenburg, M., Zehavi, M.: Parameterized complexity in graph drawing (Dagstuhl Seminar 21293). Dagstuhl Rep. 11(6), 82–123 (2021). https://doi.org/10.4230/DagRep.11.6.82
Gupta, S., Sa’ar, G., Zehavi, M.: Grid recognition: classical and parameterized computational perspectives. In: International Symposium on Algorithms and Computation (ISAAC), vol. 212 of LIPIcs, pp. 1–15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2021). https://doi.org/10.4230/LIPIcs.ISAAC.2021.37
Kaufmann, M., Wagner, D. (eds.): Drawing Graphs. LNCS, vol. 2025. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44969-8
Kobayashi, Y., Ohtsuka, H., Tamaki, H.: An improved fixed-parameter algorithm for one-page crossing minimization. In: Lokshtanov, D., Nishimura, N. (eds.) 12th International Symposium on Parameterized and Exact Computation (IPEC), vol. 89 of LIPIcs, pp. 1–12. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2018). https://doi.org/10.4230/LIPIcs.IPEC.2017.25
Liotta, G., Rutter, I., Tappini, A.: Parameterized complexity of graph planarity with restricted cyclic orders. In: International Workshop on Graph-Theoretic Concepts in Computer Science (WG), vol. 13453 of LNCS, pp. 383–397. Springer (2022). https://doi.org/10.1007/978-3-031-15914-5_28
Da Lozzo, G., Eppstein, D., Goodrich, M.T., Gupta, S.: C-planarity testing of embedded clustered graphs with bounded dual carving-width. Algorithmica 83(8), 2471–2502 (2021). https://doi.org/10.1007/s00453-021-00839-2
Patrignani, M.: On the complexity of orthogonal compaction. Comput. Geom. 19(1), 47–67 (2001). https://doi.org/10.1016/S0925-7721(01)00010-4
Pickover, C.A.: The Math Book. Sterling (2009)
Shamos, M.I., Hoey, D.: Geometric intersection problems. In: 17th Annual Symposium on Foundations of Computer Science (FOCS), pp. 208–215 (1976). https://doi.org/10.1109/SFCS.1976.16
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Didimo, W., Gupta, S., Kindermann, P., Liotta, G., Wolff, A., Zehavi, M. (2023). Parameterized Approaches to Orthogonal Compaction. In: Gąsieniec, L. (eds) SOFSEM 2023: Theory and Practice of Computer Science. SOFSEM 2023. Lecture Notes in Computer Science, vol 13878. Springer, Cham. https://doi.org/10.1007/978-3-031-23101-8_8
Download citation
DOI: https://doi.org/10.1007/978-3-031-23101-8_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-23100-1
Online ISBN: 978-3-031-23101-8
eBook Packages: Computer ScienceComputer Science (R0)