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.

• classname<br />

Type: integer : string<br />

Default value: 1 : “1”, 2 : “2”, 3 : “3”, ...<br />

Attribute of: top-level graph<br />

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

This attribute enables the names of edges classes to be introduced. These names appear in<br />

the Select Edge Classes dialog box. For details on edge classes, see p. 27.<br />

• cmin, cmax<br />

Type: integer<br />

Default value: 0 for cmin, infinite for cmax<br />

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

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

The cmin attribute sets the minimum number of iterations that are performed for reducing<br />

crossings using crossing weights. The normal method stops when two consecutive checks<br />

no longer cause the number of crossings to be reduced. However, this number of crossings<br />

might be a local minimum, meaning the number of crossing might decrease even more after<br />

some more iterations.<br />

The cmax attribute sets the maximum number of iterations of the crossing reduction phase.<br />

A reduction of this value causes the layout process to be speeded up. The default value<br />

infinite means that the method is iterated as long as any improvement is possible.<br />

• color<br />

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

Default value:<br />

white for top-level graph<br />

white for subgraphs<br />

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

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

– top-level graph<br />

Here the color attribute specifies the background color of the graph window.<br />

– subgraphs<br />

Here it specifies the background color of subgraphs. This color is valid as the background<br />

color in summary nodes, boxes, clusters and as a wrapping color.<br />

For details on colors, see p. 105. See also attributes textcolor (p. 87) and bordercolor<br />

(p. 67).<br />

• colorentry<br />

Type: integer : integer integer integer<br />

Default value: no default value defined<br />

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

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

This attribute enables the default color map to be filled and changed. A color is a triple of<br />

integer values for the red, green and blue part. Each integer ranges from 0 (color part turned<br />

off) to 255 (color part turned on), e. g. 0 0 0 specifies the color black and 255 255 255<br />

68

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

Saved successfully!

Ooh no, something went wrong!