Next: Reducing Layout Time
Up: Advanced Usage
Previous: General Parameters
The submenu Layout of the
Misc menu in the menu line
offers the following possibilities to change the layout of the graph:
- Layout...
Changes the layout for an individual graph, i.e.
either for an individual subgraph or the top-level graph only.
This operation can also be invoked by pressing the l key.
- Pass Layout...
Changes the layout parameters for the selected graph
(subgraph or top-level graph) and then passes the setting of all the layout parameters of the selected graph to all its subgraphs.
- Pass Changes...
Changes the layout parameters for the selected graph (subgraph or top-level graph) and then
passes only the setting of the changed layout parameters of the selected graph to all its subgraphs.
After selecting one of these items a boxed subgraph can be chosen for which the layout is to be changed by left-clicking in the box. Right-clicking causes the layout of the top-level graph to be changed.
After that the Layout dialog box appears, where the layout
parameters can be changed.
The layout parameters take effect when the dialog box is closed by selecting
the OK
button. This yields a new layout of the graph.
Clicking on Cancel causes the old parameters to remain in effect.
Figure 13:
Layout Dialog Box
 |
The following layout parameters can be changed:
- Layout Attributes
This section it can be specified whether edge labels are to be drawn,
what they look like, where they are positioned and what the edges are to look like.
- Orientation
Enables the orientation of the graph in the window to be selected
(see orientation).
- Crossing Heuristics
Enables the crossing reduction phases to be controlled.
- Node Alignment
- Arrow Heads
Enables the mode for the arrow heads to be selected.
- Adding Labels (see late_edge_labels)
- Layout Factors
Enables all the layout factors to be changed via scrollbars.
For example, if the graph is too dense, X Space and Y Space
should be increased; if the splines are too sharp, the spline factor
should be reduced and the XL Space increased.
- Down factor (see
layout_downfactor)
- Up factor (see
layout_upfactor)
- Near factor (see
layout_nearfactor)
- X Base (see
xbase)
- Y Base (see
ybase)
- X Space (see xspace)
- Y Space (see yspace)
- XL Space (see xlspace)
- Spline factor (see splinefactor)
This factor can only be changed if splines are used for edge drawing.
- Time limit
Enables a time limit for layout calculation to be set.
If the time limit is exceeded, the fastest possible mode for
the current iteration phase is activated.
- Maximum Iteration Factors
Enables the maximum iteration factors
for the various layout calculation
phases to be changed.
- Crossingred. (see cmax)
- Medium Shifts (see pmax)
This factor cannot be changed for the tree layout.
- Center Shifts (see rmax)
This factor cannot be changed for tree layout.
- Spread Level (see spreadlevel)
This factor can only be changed for tree layout.
- Tree Factor (see treefactor)
This factor can only be changed for tree layout.
- Straight Line (see smax)
- Bending Reduction (see bmax)
- Minimum Iteration Factors
Enables the minimum iteration factors for the various layout calculation
phases to be changed.
- Crossing Reduction (see cmin)
- Medium Shifts (see pmin)
- Center Shifts (see rmin)
- Layout Speed
Enablesthe layout calculation speed to be controlled via appropriate iteration factor settings.
In fact these buttons are shortcuts for changing the iteration factors Crossing Reduction,
Medium Shifts, Center Shifts, Straight Line and
Bending Reduction all at once.
- Partitioning Algorithm
When it comes to hierarchical layout algorithms, the order in which the nodes
are visited influences the layout greatly. The following algorithms
are available:
Next: Reducing Layout Time
Up: Advanced Usage
Previous: General Parameters
© AbsInt Angewandte Informatik GmbH