An incremental editor for dynamic hierarchical drawing of trees
Computer Science, Hardware & Architecture; Computer Science, Theory &; Methods; Telecommunications
We present an incremental tree editor based on algorithms for manipulating shape functions. The tree layout is hierarchical, left-to-right. Nodes of variable size and shape are supported. The paper presents algorithms for basic tree editing operations, including cut and paste. The layout algorithm for positioning child-subtrees rooted at a given parent is incrementally recomputed with each edit operation; it attempts to conserve the total display area allocated to child-subtrees while preserving the user's mental map. The runtime and space efficiency is good as a result of exploiting a specially designed Shape abstraction for encoding and manipulating the geometric boundaries of subtrees as monotonic step functions to determine their best placement. All tree operations, including loading, saving trees to files, and incremental cut and paste, are worst case O(N) in time, but typically cut and paste are O(log(N)(2)), where N is the number of nodes.
Computational Science - Iccs 2004, Pt 3, Proceedings
"An incremental editor for dynamic hierarchical drawing of trees" (2004). Faculty Bibliography 2000s. 4889.