English

Offline Drawing of Dynamic Trees: Algorithmics and Document Integration

Computational Geometry 2016-08-31 v1 Data Structures and Algorithms

Abstract

While the algorithmic drawing of static trees is well-understood and well-supported by software tools, creating animations depicting how a tree changes over time is currently difficult: software support, if available at all, is not integrated into a document production workflow and algorithmic approaches only rarely take temporal information into consideration. During the production of a presentation or a paper, most users will visualize how, say, a search tree evolves over time by manually drawing a sequence of trees. We present an extension of the popular TeX\TeX typesetting system that allows users to specify dynamic trees inside their documents, together with a new algorithm for drawing them. Running TeX\TeX on the documents then results in documents in the SVG format with visually pleasing embedded animations. Our algorithm produces animations that satisfy a set of natural aesthetic criteria when possible. On the negative side, we show that one cannot always satisfy all criteria simultaneously and that minimizing their violations is NP-complete.

Keywords

Cite

@article{arxiv.1608.08385,
  title  = {Offline Drawing of Dynamic Trees: Algorithmics and Document Integration},
  author = {Malte Skambath and Till Tantau},
  journal= {arXiv preprint arXiv:1608.08385},
  year   = {2016}
}

Comments

Appears in the Proceedings of the 24th International Symposium on Graph Drawing and Network Visualization (GD 2016)

R2 v1 2026-06-22T15:34:47.479Z