Subsections


Popup menu

Popup menu can be opened by right-clicking on a component. That component can be a structure, a node or a key. The available operations in the popup menu depend on the component which was right-clicked.

New visualization:
Creates a new visualization of the data structure in the current animation window. Changes in the new visualization affects the original and vice versa.
Delete:
Invokes the delete method for this object. By default this removes the selected structure or component from the underlying data structure.
Change layout:
Changes the layout for the data structure.
Visualization:
This submenu (described in Section 6.1) contains commands that directly modify how the data structure is visualized.
Filters:
This submenu (described in Section 6.2) contains commands that--depending on the data structure--filter out the structure's details or select only a part of it to be represented.
Rename:
Renames a data structure. This only affects keys, data structures with a header, or labeled nodes. This command is also used to modify the value of a key.
Rename all keys (arrays only):
Opens a dialogue to rename all keys of the array. The keys must be separated by spaces.
Labeled (nodes only):
Chooses whether labels next to nodes are displayed.
InsertEdge (graph vertices only):
Inserts an edge between two vertices after the destination vertex has been clicked.
Refresh:
Refreshes the visualization. It will also create new keys for an array of random keys.
Call:
Calls a user-defined method (without parameters) if they have been defined for this object.
Change Edge Length:
(For graphs using either the Kamada-Kawai or the Fruchterman-Reingold layout.) Opens a popup window where you can type a new edge length used in the algorithm. Changing its value can have dramatic effect on the layout:


Visualization Menu

The visualization menu contains commands that modify the way the structure is visualized:
Minimized:
Minimizes or maximizes a visualization.
Alive:
Enables and disables a visualization's response to simulation operations such as dragging and dropping.
Enable:
Enables and disables direct access to the subcomponents of a visualization.
Titled:
Displays the title bar in a data structure.
Rotated:
Rotates the visualization:
FlipX:
Flips the X coordinates of the visualization:
FlipY:
Flips the Y coordinates of the visualization:
Indexed (arrays only):
Displays or hides the indices of an array.


Filters menu

The filters menu depends on the data structure.
Directed (trees and graphs only):
Edges are directed.
EmptyLeaves (trees only):
Show empty leaves.
DFSvalidate (graphs only):
Validate the graph in DFS order; otherwise, validate in BFS order.
BackEdges:
Show back edges for graphs.
ForwardEdges:
Show forward edges for graphs.
CrossEdges:
Show cross edges for graphs.
Increment (arrays only):
Increment the size of an array.
Decrement (arrays only):
Decrement the size of an array.
Double (arrays only):
Double the size of an array.
Halve (arrays only):
Halve the size of an array.
RaiseIndex (arrays only):
Shift array indexes right by one.
LowerIndex (arrays only):
Shift array indexes left by one.