Version 0.79, October 2006
This guide shows how to use the Graphical User Interface for the SBW AutoLayout Module.
All clickable menu items and buttons (or their associated keystrokes) will be in italics.
To open an SBML File:
If the SBML file has layout information, the model will be displayed as specified by its layout. If the model does not have layout information, SBW AutoLayout will generate all necessary data for saving the model with layout information.
To save an SBML File:
Images of the full network or a screenshot of the network can be saved. Full network saves the whole network, regardless of what is visible in SBW AutoLayout's window. Screenshot saves only what is visible in SBW AutoLayout's window. To save an image of the full network:
To save an image of a screenshot:
Note:
The SBW menu allows users to transfer models between SBW-enabled applications without importing/exporting the models between programs.
Panning is the movement of the drawing canvas on the screen in horizontal and/or vertical directions. This allows for visually exploring even large models. To pan on the canvas:
Zooming makes the model larger or smaller on the screen. To zoom:
Compartments are defined in the SBML for the model. The topmost (default) compartment is always hidden, but all other compartments can be hidden or shown. While the forces and control points cannot be directly manipulated, they show how the program is positioning the models. The forces shown are the springs for the connections and the repulsion that occurs in the middle of the connections, however the forces associated with the nodes are simply their size. These are used by the layout algorithm to adjust distances between nodes. Control points are used to set the curves for the model’s connections. To change their visibility:
Fit On Screen automatically moves (pans) and sizes (zooms) that the whole model will be displayed on the screen. To do this:
To find and center a particular node on the screen (without adjusting the zoom):
Within SBW AutoLayout, the cursor has three different modes:
To change the cursor mode:
Dragging nodes and connections allows for adjusting the network layout. When nodes and connections are moved, the curves for the connections are automatically recalculated to maintain their coherence. To move these elements, the cursor must be in the Select Element mode. To drag a node:
To drag a connection:
Locking nodes and connections keeps them from being moved during automatic layout. To move these elements, the cursor must be in the Lock Element mode. To lock a node:
To lock a connection:
Aliasing a node creates copies of the node for each connection that was attached to the node. These nodes have the same text as the original node and are then shown with a dotted line around them. Nodes can be aliasing individually by selecting the Alias Node Cursor, or all nodes with a specified degree or higher can be automatically aliased. To alias a single node, the cursor must be in the Alias Node mode.
To alias multiple nodes based on their degree:
NOTE: when aliasing nodes, the program will not alias any nodes that may disconnect the network
Any moving, aliasing, or layout performed on the network can be undone or redone. Undo removes whatever action was last performed on the network. Redo can only be used after Undo to remove the changes made by Undo. If the model is manipulated after using Undo, the option to use Redo is not longer available. Both of these can be used repeatedly.
Randomizing places all the nodes and connections into randomly selected positions. To Randomize the loaded model:
The basis for this algorithm is force-directed placement (Fruchterman, T. M. J. and Reingold, E. M., (1991) Graph drawing by force-directed placement. Software, Practice and Experience, 21, 1129-1164.). The model is treated as a physical system, where the nodes are treated as repulsive particles and the connections act as springs with an optimal distance. The springs attempt to attain their optimal distance by pulling connected nodes together that are too far apart, or pushing connected nodes apart that are too close together. This system of springs and repulsive nodes are then then simulated until they reach a relatively stable configuration.
Automatic Layout moves all the nodes and connections in a loaded model to make a readable visualization of the model. To perform Automatic Layout:
The following parameters can be adjusted:
The following parameters can be turned on or off:
Node spacing controls the preferred distance between the nodes. Gravity controls how strongly all elements in the model are attracted to a central point. Gravity is most useful for keeping disconnected models together and for wrapping long models
alias
Making identical copies of a node for each of the node’s connections. Each copy is called an alias of the original node. This allows the alias nodes, and the associated connection, to be moved separately from the original node, which allows for simplifying the layout of the model.
canvas
The canvas is the white square that occupies most of SBW AutoLayout’s window, and the models are drawn on the canvas. The canvas can be manipulated by panning, which moves the models, or zooming, which resizes the models.
control points
Points that control the curves for the reactions. These are usually hidden.
gravity
A force that acts to pull all the parts of the model towards a common center. This helps to keep disconnected or long, stringy models compact.
magnetism
A force that acts to keep the arrows indicating the direction of reactions aligned when there are several products or reactants. It works by attracting reactants to reactants and products to products, while repulsing reactants from products.
springs
Forces between the nodes used by the layout algorithm to adjust distances between nodes. These are usually hidden.