English

Simultaneous Drawing of Layered Trees

Discrete Mathematics 2024-02-29 v4 Data Structures and Algorithms

Abstract

We study the crossing-minimization problem in a layered graph drawing of planar-embedded rooted trees whose leaves have a given total order on the first layer, which adheres to the embedding of each individual tree. The task is then to permute the vertices on the other layers (respecting the given tree embeddings) in order to minimize the number of crossings. While this problem is known to be NP-hard for multiple trees even on just two layers, we describe a dynamic program running in polynomial time for the restricted case of two trees. If there are more than two trees, we restrict the number of layers to three, which allows for a reduction to a shortest-path problem. This way, we achieve XP-time in the number of trees.

Keywords

Cite

@article{arxiv.2302.11952,
  title  = {Simultaneous Drawing of Layered Trees},
  author = {Julia Katheder and Stephen G. Kobourov and Axel Kuckuk and Maximilian Pfister and Johannes Zink},
  journal= {arXiv preprint arXiv:2302.11952},
  year   = {2024}
}

Comments

Appears in Proc. 18th International Conference and Workshops on Algorithms and Computation 2024 (WALCOM'24)

R2 v1 2026-06-28T08:47:47.544Z