Abstract
In a proportional contact representation of a planar graph, each vertex is represented by a simple polygon with area proportional to a given weight, and edges are represented by adjacencies between the corresponding pairs of polygons. In this paper we first study proportional contact representations that use rectilinear polygons without wasted areas (white space). In this setting, the best known algorithm for proportional contact representation of a maximal planar graph uses 12-sided rectilinear polygons and takes O(nlogn) time. We describe a new algorithm that guarantees 10-sided rectilinear polygons and runs in O(n) time. We also describe a linear-time algorithm for proportional contact representation of planar 3-trees with 8-sided rectilinear polygons and show that this is optimal, as there exist planar 3-trees that require 8-sided polygons. We then show that a maximal outer-planar graph admits a proportional contact representation using rectilinear polygons with 6 sides when the outer-boundary is a rectangle and with 4 sides otherwise. Finally we study maximal series-parallel graphs. Here we show that O(1)-sided rectilinear polygons are not possible unless we allow holes, but 6-sided polygons can be achieved with arbitrarily small holes.
Similar content being viewed by others
Notes
Any distribution of ε area among the empty rectangular regions is feasible, as long as they are all non-zero; we just give equal area ε′ to all these empty regions.
References
Alam, M.J., Biedl, T.C., Felsner, S., Gerasch, A., Kaufmann, M., Kobourov, S.G.: Linear-time algorithms for hole-free rectilinear proportional contact graph representations. In: International Symposium on Algorithms and Computation (ISAAC’11). Lecture Notes in Computer Science, vol. 7074, pp. 281–291. Springer, Berlin (2011)
Alam, M.J., Biedl, T.C., Felsner, S., Kaufmann, M., Kobourov, S.G., Ueckerdt, T.: Computing cartograms with optimal complexity. In: Symposium on Computational Geometry (SoCG’12), pp. 21–30. ACM, New York (2012)
de Berg, M., Mumford, E., Speckmann, B.: On rectilinear duals for vertex-weighted plane graphs. Discrete Math. 309(7), 1794–1812 (2009)
Biedl, T.C., Velázquez, L.E.R.: Orthogonal cartograms with few corners per face. In: Workshop on Algorithms and Data Structures (WADS’11). Lecture Notes in Computer Science, vol. 6844, pp. 98–109. Springer, Berlin (2011)
Biedl, T.C., Velázquez, L.E.R.: Drawing planar 3-trees with given face areas. Comput. Geom. 46(3), 276–285 (2013)
Buchsbaum, A.L., Gansner, E.R., Procopiuc, C.M., Venkatasubramanian, S.: Rectangular layouts and contact graphs. ACM Trans. Algorithms 4(1), 8 (2008). doi:10.1145/1328911.1328919
Duncan, C.A., Gansner, E.R., Hu, Y.F., Kaufmann, M., Kobourov, S.G.: Optimal polygonal representation of planar graphs. Algorithmica 63(3), 672–691 (2012)
de Fraysseix, H., de Mendez, P.O.: On topological aspects of orientations. Discrete Math. 229(1–3), 57–72 (2001)
de Fraysseix, H., de Mendez, P.O., Rosenstiehl, P.: On triangle contact graphs. Comb. Probab. Comput. 3, 233–246 (1994)
He, X.: On floor-plan of plane graphs. SIAM J. Comput. 28(6), 2150–2167 (1999)
Heilmann, R., Keim, D.A., Panse, C., Sips, M.: Recmap: Rectangular map approximations. In: IEEE Symposium on Information Visualization (INFOVIS’04), pp. 33–40 (2004)
Izumi, T., Takahashi, A., Kajitani, Y.: Air-pressure model and fast algorithms for zero-wasted-area layout of general floorplan. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. E81-A(5), 857–865 (1998). Special section on discrete mathematics and its applications
Kant, G.: A more compact visibility representation. Int. J. Comput. Geom. Appl. 7(3), 197–210 (1997)
Kawaguchi, A., Nagamochi, H.: Orthogonal drawings for plane graphs with specified face areas. In: Theory and Applications of Models of Computation (TAMC’07). Lecture Notes in Computer Science, vol. 4484, pp. 584–594. Springer, Berlin (2007)
Koebe, P.: Kontaktprobleme der konformen Abbildung. Berichte über die Verhandlungen der Sächsischen Akademie der Wissenschaften zu Leipzig. Math.-Phys. Klasse 88, 141–164 (1936)
Koźmiński, K., Kinnen, E.: Rectangular duals of planar graphs. Networks 15, 145–157 (1985)
van Kreveld, M.J., Speckmann, B.: On rectangular cartograms. Comput. Geom. 37(3), 175–187 (2007)
Liao, C.C., Lu, H.I., Yen, H.C.: Compact floor-planning via orderly spanning trees. J. Algorithms 48(2), 441–451 (2003)
Mondal, D., Nishat, R.I., Rahman, M.S., Alam, M.J.: Minimum-area drawings of plane 3-trees. J. Graph Algorithms Appl. 15(2), 177–204 (2011)
Rahman, M.S., Miura, K., Nishizeki, T.: Octagonal drawings of plane graphs with prescribed face areas. Comput. Geom. 42(3), 214–230 (2009)
Ringel, G.: Equiareal graphs. In: Bodendiek, R. (ed.) Contemporary Methods in Graph Theory, pp. 503–505. Wissenschaftsverlag, Berlin (1990)
Rinsma, I.: Nonexistence of a certain rectangular floorplan with specified area and adjacency. Environ. Plan. B, Plan. Des. 14, 163–166 (1987)
Schnyder, W.: Embedding planar graphs on the grid. In: Symposium on Discrete Algorithms (SODA’90), pp. 138–148 (1990)
Sun, Y., Sarrafzadeh, M.: Floorplanning by graph dualization: L-shaped modules. Algorithmica 10(6), 429–456 (1993)
Thomassen, C.: Plane cubic graphs with prescribed face areas. Comb. Probab. Comput. 1, 371–381 (1992)
Ungar, P.: On diagrams representing graphs. J. Lond. Math. Soc. 28, 336–342 (1953)
Wang, K., Chen, W.K.: Floorplan area optimization using network analogous approach. In: IEEE International Symposium on Circuits and Systems, vol. 1, pp. 167–170 (1995)
Yeap, K.H., Sarrafzadeh, M.: Floor-planning by graph dualization: 2-concave rectilinear modules. SIAM J. Comput. 22, 500–526 (1993)
Author information
Authors and Affiliations
Corresponding author
Additional information
This research was initiated at the Dagstuhl Seminar 10461 on Schematization. M.J. Alam’s and S.G. Kobourov’s research funded in part by NSF grants CCF-0545743 and CCF-1115971. T. Biedl’s research supported by NSERC. S. Felsner’s research partially supported by EUROGIGA project GraDR and DFG Fe 340/7-2.
Rights and permissions
About this article
Cite this article
Alam, M.J., Biedl, T., Felsner, S. et al. Linear-Time Algorithms for Hole-free Rectilinear Proportional Contact Graph Representations. Algorithmica 67, 3–22 (2013). https://doi.org/10.1007/s00453-013-9764-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-013-9764-5