How to Derive Tidy Drawings of Trees

The tree-drawing problem\\/ is to produce a `tidy' mapping of elements of a tree to points in the plane. In this paper, we derive an efficient algorithm for producing tidy drawings of trees. The specification, the starting point for the derivations, consists of a collection of intuitively appe...

Full description

Bibliographic Details
Main Author: Gibbons, J
Format: Conference item
Published: Department of Computer Science‚ University of Auckland 1994
Description
Summary:The tree-drawing problem\\/ is to produce a `tidy' mapping of elements of a tree to points in the plane. In this paper, we derive an efficient algorithm for producing tidy drawings of trees. The specification, the starting point for the derivations, consists of a collection of intuitively appealing criteria\\/ satisfied by tidy drawings. The derivation shows constructively that these criteria completely determine the drawing. Indeed, there is essentially only one reasonable drawing algorithm satisfying the criteria; its development is almost mechanical. <p> The algorithm consists of an upwards accumulation\\/ followed by a downwards accumulation\\/ on the tree, and is further evidence of the utility of these two higher-order tree operations.</p>