Skip to Content
Handbook of Graph Drawing and Visualization
book

Handbook of Graph Drawing and Visualization

by Roberto Tamassia
August 2013
Intermediate to advanced content levelIntermediate to advanced
862 pages
32h 20m
English
Chapman and Hall/CRC
Content preview from Handbook of Graph Drawing and Visualization
160 CHAPTER 5. TREE DRAWING ALGORITHMS
5.3 H-V Approach
The horizontal -ver ti cal approach can be used on both binary and general trees. In this
approach, a div ide -and -c onqu e r strategy is used to recursively construct an upward, or-
thogonal, and straight-line drawing of a tree, by placing the root of the tree in the top-left
corner, and the drawings of its left and right subtrees one next to the other (horizontal
composition) or one below the other (vertical composition) (see Figure 5.4). The resulting
drawing also exhibits the s u bt r ee s ep ar ation prope r ty with in an O(n log n) area.
(a) (b)
Figure 5.4 General H-V approach. (a) Horizontal ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Handbook of Graph Theory, 2nd Edition

Handbook of Graph Theory, 2nd Edition

Jonathan L. Gross, Jay Yellen, Ping Zhang
Drawing Product Ideas

Drawing Product Ideas

Kent E. Eisenhuth, Manuel Lima

Publisher Resources

ISBN: 9781420010268