Skip to main content

Minimizing Corners in Colored Rectilinear Grids

  • Conference paper
  • First Online:
WALCOM: Algorithms and Computation (WALCOM 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14549))

Included in the following conference series:

Abstract

Given a rectilinear grid \(G\), in which cells are either assigned a single color, out of k possible colors, or remain white, can we color white grid cells of \(G\) to minimize the total number of corners of the resulting colored rectilinear polygons in \(G\)? We show how this problem relates to hypergraph visualization, prove that it is NP-hard even for \(k=2\), and present an exact dynamic programming algorithm. Together with a set of simple kernelization rules, this leads to an FPT-algorithm in the number of colored cells of the input. We additionally provide an XP-algorithm in the solution size, and a polynomial \(\mathcal {O}(OPT)\)-approximation algorithm.

This work has been supported by the Vienna Science and Technology Fund (WWTF) under grant [10.47379/ICT19035].

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Alper, B., Riche, N., Ramos, G., Czerwinski, M.: Design study of linesets, a novel set visualization technique. IEEE Trans. Vis. Comput. Graph. 17(12), 2259–2267 (2011)

    Article  Google Scholar 

  2. Alsallakh, B., Micallef, L., Aigner, W., Hauser, H., Miksch, S., Rodgers, P.: The state-of-the-art of set visualization. Comput. Graph. Forum 35(1), 234–260 (2016)

    Article  Google Scholar 

  3. Baron, M.: A note on the historical development of logic diagrams: Leibniz, Euler and Venn. Math. Gaz. 53(384), 113–125 (1969)

    Article  Google Scholar 

  4. de Berg, M., Khosravi, A.: Optimal binary space partitions in the plane. In: Proceedings 16th COCOON, pp. 216–225 (2010)

    Google Scholar 

  5. Cabello, S., Demaine, E., Rote, G.: Planar embeddings of graphs with specified edge lengths. In: Proceedings of the 11th GD, pp. 283–294 (2003)

    Google Scholar 

  6. Darmann, A., Döcker, J.: On simplified NP-complete variants of monotone 3-SAT. Discret. Appl. Math. 292, 45–58 (2021)

    Article  MathSciNet  Google Scholar 

  7. Depian, T., Dobler, A., Kern, C., Wulms, J.: Minimizing corners in colored rectilinear grids. arXiv (2023)

    Google Scholar 

  8. Fischer, M., Frings, A., Keim, D., Seebacher, D.: Towards a survey on static and dynamic hypergraph visualizations. In: 2021 IEEE VIS - Short Papers, pp. 81–85 (2021)

    Google Scholar 

  9. van Goethem, A., Kostitsyna, I., van Kreveld, M., Meulemans, W., Sondag, M., Wulms, J.: The painter’s problem: covering a grid with colored connected polygons. In: Proceedings of the 25th GD, pp. 492–505 (2017)

    Google Scholar 

  10. Jacobsen, B., Wallinger, M., Kobourov, S., Nöllenburg, M.: Metrosets: visualizing sets as metro maps. IEEE Trans. Vis. Comput. Graph. 27(2), 1257–1267 (2021)

    Article  Google Scholar 

  11. Johnson, D., Pollak, H.: Hypergraph planarity and the complexity of drawing Venn diagrams. J. Graph Theory 11(3), 309–325 (1987)

    Article  MathSciNet  Google Scholar 

  12. Meulemans, W., Riche, N., Speckmann, B., Alper, B., Dwyer, T.: KelpFusion: a hybrid set visualization technique. IEEE Trans. Vis. Comput. Graph. 19(11), 1846–1858 (2013)

    Article  Google Scholar 

  13. Purchase, H.: Metrics for graph drawing aesthetics. J. Vis. Lang. Comput. 13(5), 501–516 (2002)

    Article  Google Scholar 

  14. Rodgers, P., Stapleton, G., Chapman, P.: Visualizing sets with linear diagrams. ACM Trans. Comput. Hum. Interact. 22(6), 27:1–27:39 (2015)

    Google Scholar 

  15. Rottmann, P., Wallinger, M., Bonerath, A., Gedicke, S., Nöllenburg, M., Haunert, J.: MosaicSets: embedding set systems into grid graphs. IEEE Trans. Vis. Comput. Graph. 29(1), 875–885 (2023)

    Google Scholar 

  16. Wallinger, M., Dobler, A., Nöllenburg, M.: Linsets.zip: compressing linear set diagrams. IEEE Trans. Vis. Comput. Graph. 29(6), 2875–2887 (2023)

    Article  Google Scholar 

  17. Wang, Y., et al.: F2-bubbles: faithful bubble set construction and flexible editing. IEEE Trans. Vis. Comput. Graph. 28(1), 422–432 (2022)

    Article  Google Scholar 

Download references

Acknowledgements

The authors would like to thank anonymous referees for their careful reviews and pointing us to [6].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jules Wulms .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Depian, T., Dobler, A., Kern, C., Wulms, J. (2024). Minimizing Corners in Colored Rectilinear Grids. In: Uehara, R., Yamanaka, K., Yen, HC. (eds) WALCOM: Algorithms and Computation. WALCOM 2024. Lecture Notes in Computer Science, vol 14549. Springer, Singapore. https://doi.org/10.1007/978-981-97-0566-5_11

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-0566-5_11

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-0565-8

  • Online ISBN: 978-981-97-0566-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics