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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

– trapeze<br />

– uptrapeze<br />

• shrink, stretch<br />

Type: integer<br />

Default value: 1 for both<br />

Attribute of: node<br />

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

These attributes specify the shrinking and stretching factor of a node. The values of the<br />

node attributes width, height, borderwidth and the size of the label is scaled by ((stretch<br />

/ shrink) * 100) percent. The scale value can also be specified by the node attribute scaling<br />

(p. 97).<br />

Note: The actual scaling factor of a node is determined by the scale factor of a node in<br />

relation to the scale factor of the graph, i. e. if the scaling factor for the graph is (stretch,<br />

shrink) = (2, 1) and (stretch, shrink) = (2, 1) for the node, the node is scaled by a factor of 4<br />

as compared to normal size.<br />

• textcolor<br />

Type: black, blue, red, ...<br />

Default value: black<br />

Attribute of: node<br />

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

Specifies the color for text labels of nodes. For details on colors, see p. 105. See also node<br />

attributes color (p. 93) and bordercolor (p. 93).<br />

• textmode<br />

Type: center, left_justify, right_justify<br />

Default value: center<br />

Attribute of: node<br />

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

This attribute specifies the alignment of text within a node frame.<br />

• title<br />

Type: string<br />

Default value: no default<br />

Attribute of: node<br />

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

This specifies the unique string identifying the node. This attribute is mandatory for the node<br />

specification.<br />

• vertical_order<br />

Type: integer or maxlevel<br />

Default value: none (corresponds to -1)<br />

Attribute of: node<br />

98

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

Saved successfully!

Ooh no, something went wrong!