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.
The layout Array can be used to represent arrays and trees:
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).
The layout List can be
used to represent linked lists, stacks and queues:
- Layered Tree
- The Layered Tree layout:
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:
- Layered Graph
- The layered graph layout uses a directed acyclic
graph algorithm supporting arbitrary graphs and variable-size nodes:
- Kamada-Kawai Graph
- This layout uses the Kamada-Kawai layout algorithm:
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:
The layout can be modified by Change edge length
from the graph's popup menu.