Lecture overview -- Keyboard shortcut: 'u'  Previous page: List deletion -- Keyboard shortcut: 'p'  Next page: Tree Page - traversal -- Keyboard shortcut: 'n'  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Page 21 : 24
SVG Development Notes
Tree Page

A Binary Tree

The tree layout is an important aspect of this graph. The x coordinate of the nodes is the most interesting. The y coordinate is rather straightforward. We have programmed a function (xc i j) which calculates the x-coordinate of node i at level j. With this function the node layout problem becomes easy to deal with.

To see this image you must download and install the SVG plugin from Adobe.In Firefox please consultthis page.

A tree