English

Algorithms and Experiments Comparing Two Hierarchical Drawing Frameworks

Data Structures and Algorithms 2020-11-25 v1

Abstract

We present algorithms that extend the path-based hierarchical drawing framework and give experimental results. Our algorithms run in O(km)O(km) time, where kk is the number of paths and mm is the number of edges of the graph, and provide better upper bounds than the original path based framework: e.g., the height of the resulting drawings is equal to the length of the longest path of GG, instead of n1n-1, where nn is the number of nodes. Additionally, we extend this framework, by bundling and drawing all the edges of the DAG in O(m+nlogn)O(m + n \log n) time, using minimum extra width per path. We also provide some comparison to a well known hierarchical drawing framework, widely known as the Sugiyama framework, as a proof of concept. The experimental results show that our algorithms produce drawings that are better in area and number of bends, but worse for crossings in sparse graphs. Hence, our technique offers an interesting alternative for drawing hierarchical graphs. Finally, we present an O(m+klogk)O(m + k \log k) time algorithm that computes a specific order of the paths in order to reduce the total edge length and number of crossings and bends.

Keywords

Cite

@article{arxiv.2011.12155,
  title  = {Algorithms and Experiments Comparing Two Hierarchical Drawing Frameworks},
  author = {Panagiotis Lionakis and Giorgos Kritikakis and Ioannis G. Tollis},
  journal= {arXiv preprint arXiv:2011.12155},
  year   = {2020}
}
R2 v1 2026-06-23T20:28:42.716Z