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.

min sets the minimum number of iterations for rubberbanding. This works in a manner<br />

similar to the pendulum method.<br />

rmax sets the maximum number of iterations for rubberbanding. Reducing this factor increases<br />

layout calculation speed.<br />

• scaling<br />

Type: a float value or maxspect<br />

Default value: 1.0<br />

Attribute of: top-level graph, subgraphs<br />

<strong>Description</strong>:<br />

This attribute specifies the scaling factor for graph representation. A scaling factor of 1.0<br />

means normal size. maxspect scales a graph so that the entire graph fits into the graph<br />

window.<br />

When specified for the top-level graph, this attribute determines the size of the entire graph<br />

including all the subgraphs. When specified for a subgraph it determines the scaling factor<br />

of the summary node of the folded subgraph. The size of a boxed subgraph is not affected,<br />

however the size of the subgraph nodes may still be affected.<br />

For details, see shrink/strech (p. 83).<br />

• shape<br />

Type:<br />

box, rhomb, ellipse, circle, triangle,<br />

trapeze, uptrapeze, hexagon, lparallelogram, rparallelogram<br />

Default value: box<br />

Attribute of: subgraphs<br />

<strong>Description</strong>:<br />

Specifies the shape of the summary node of a folded subgraph (see node attribute shape<br />

(p. 97) for a description of shapes).<br />

• shrink, stretch<br />

Type: integer<br />

Default value: 1 for both<br />

Attribute of: top-level graph, subgraphs<br />

<strong>Description</strong>:<br />

These two attributes specify the shrinking and stretching factors for the representation of the<br />

top-level graph. The scaling of the graph as a percentage is given by the formula ((stretch /<br />

shrink) * 100).<br />

For instance, (stretch, shrink) = (1, 1) or (2, 2) or (3, 3) or ... is normal size, (stretch, shrink)<br />

= (1, 2) is half size, and (stretch, shrink) = (2, 1) is double size. The scaling factor can also<br />

be specified via the scaling (p. 83).<br />

– top-level graph<br />

When these attributes are specified for the top-level graph, they determine the size of<br />

the entire graph including all the subgraphs.<br />

– subgraphs<br />

When specified for a subgraph they determine the scaling factor of the summary node<br />

83

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

Saved successfully!

Ooh no, something went wrong!