02.10.2012 Views

5 Graph Description Language (GDL) - Absint

5 Graph Description Language (GDL) - Absint

5 Graph Description Language (GDL) - Absint

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

for a graph and if animation is turned on, meaning a rate or animation speed is given, the user can<br />

follow the movement of the nodes from their initial positions in the layout to the newly calculated<br />

ones. The rate or speed refers to the number of animated iterations. (cf. graph attribute amax,<br />

p. 66).<br />

The value of Neighbor Region Range describes the extent of the neighbor region (see p. 28).<br />

4.4 Changing the Layout<br />

The submenu Layout of the Misc menu in the menu lineoffers the following possibilities to<br />

change the layout of the graph:<br />

• Layout...<br />

Changes the layout for an individual graph, i. e. either for an individual subgraph or the<br />

top-level graph only. This operation can also be invoked by pressing the l key.<br />

• Pass Layout...<br />

Changes the layout parameters for the selected graph (subgraph or top-level graph) and then<br />

passes the setting of all the layout parameters of the selected graph to all its subgraphs.<br />

• Pass Changes...<br />

Changes the layout parameters for the selected graph (subgraph or top-level graph) and then<br />

passes only the setting of the changed layout parameters of the selected graph to all its<br />

subgraphs.<br />

After selecting one of these items a boxed subgraph can be chosen for which the layout is to be<br />

changed by left-clicking in the box. Right-clicking causes the layout of the top-level graph to be<br />

changed.<br />

After that the Layout dialog box appears, where the layout parameters can be changed. The layout<br />

parameters take effect when the dialog box is closed by selecting the OK button. This yields a new<br />

layout of the graph. Clicking on Cancel causes the old parameters to remain in effect.<br />

The following layout parameters can be changed:<br />

• Layout Attributes<br />

This section it can be specified whether edge labels are to be drawn, what they look like,<br />

where they are positioned and what the edges are to look like.<br />

– Edge labels (see display_edge_labels on p. 69)<br />

– Dirty labels (see dirty_edge_labels on p. 69)<br />

– Near edges (see near_edges attribute on p. 80)<br />

– Double edges<br />

If this option is disabled doubled edges are not drawn, i. e. if more than one edge exists<br />

between a source node and a target node, only one edge is drawn between these nodes<br />

(see also summarize option on p. 126)<br />

37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!