Subsections


Layouts

There are several different layouts that can be used to visualize the data structures. The layout of a structure can be changed using the Change layout submenu of the popup menu or using the Layout toolbar component.

Array

The layout Array can be used to represent arrays and trees:

\includegraphics{pics/ArrayLayout.eps}
See Section 4.1 for information on the hotspot used to change the size of an array; the size can also be changed using the popup menu's submenu Filters (see Section 6.2).

List

The layout List can be used to represent linked lists, stacks and queues:

\includegraphics{pics/ListLayout.eps}

Trees

Layered Tree
The Layered Tree layout:
\includegraphics{pics/LayeredTreeLayout.eps}
draws a tree using the Layered-Tree-Draw algorithm, extended to support non-binary trees and variable-size nodes.

Leaf Tree


Graphs

Dummy Graph
The dummy graph layout is a simple layout, where all the nodes are positioned in a horizontal line:
\includegraphics{pics/DummyGraphLayout.eps}
Layered Graph
The layered graph layout uses a directed acyclic graph algorithm supporting arbitrary graphs and variable-size nodes:
\includegraphics{pics/LayeredGraphLayout.eps}
Kamada-Kawai Graph
This layout uses the Kamada-Kawai layout algorithm:
\includegraphics{pics/KamadaKawaiLayout.eps}
The layout can be modified by Change edge length from the graph's popup menu.
Fruchterman-Reingold Graph
This layout uses the Fructerman-Reingold layout algorithm:
\includegraphics{pics/FruchtermanReingoldLayout.eps}
The layout can be modified by Change edge length from the graph's popup menu.