5 Graph Description Language (GDL) - Absint
5 Graph Description Language (GDL) - Absint
5 Graph Description Language (GDL) - Absint
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Name Attribute of Default value<br />
color Nodes, top-level graph background, subgraph<br />
background, summary nodes<br />
white<br />
color Edges, summary edges black<br />
textcolor Nodes, subgraphs, summary nodes black<br />
bordercolor Nodes, subgraphs, summary nodes The value of textcolor<br />
arrowcolor Edges, summary edges The same color as the edge itself<br />
backarrowcolor Edges, summary edges The same color as the edge itself<br />
Table 2: <strong>GDL</strong> Color Attributes<br />
Though there is no attribute for specifying the background color of additional node information<br />
windows, it should be noted that this color is not bound to the RGB constant 255 255 255, but<br />
rather to the value of the first entry of the color map (which happens to be 255 255 255 by<br />
default). Thus, for example, specifying<br />
colorentry 0: 210 218 255<br />
sets the background color for all additional node information windows to alice blue. However, this<br />
color then also appears everywhere else where the color white is used, so you might have to also<br />
specify<br />
colorentry 32: 255 255 255<br />
and use the color number 32 instead of white.<br />
The ASCII formfeed character \f (see p. 109) followed by two digits signifying a color changes<br />
the color for the characters following in a string, thus enabling the first 100 colors of the color map<br />
to be accessed.<br />
5.11 Icons and Additional Fonts<br />
5.11.1 Icons<br />
Instead of text labels, aiSee also offers the option of displaying icon files in nodes. The icon files<br />
have to be in PNG, PBM, PGM, or PPM format (raw). They can be attached to summary nodes<br />
or ordinary nodes by using the iconfile attribute in subgraph (p. 74) or node (p. 94) specifications.<br />
Note: In order to prevent the title text from being drawn over the icon displayed, the label attribute<br />
of the node or summary node has to be set to the empty string, i. e. label: "".<br />
The search path for the icon files can be specified by the environment variable AISEEICONS.<br />
Some additional graph attributes influence the drawing of icons, see icons (p. 74), fast_icons<br />
(p. 71) and iconcolors (p. 74).<br />
5.11.2 Fonts<br />
Apart from the default font, aiSee offers the fonts described in Table 3.<br />
These pixel fonts are compatible with Adobe PostScript fonts. When exporting aiSee files to<br />
106