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.
5.10 Colors<br />
aiSee has a color map of 256 colors of which 254 can be used. The first 32 colors (index 0 – 31) of<br />
the color map are the default colors. These colors can be specified by name, all other colors being<br />
specified by their color map index number. The color map is changed by specifying a sequence of<br />
color entry attributes. For instance,<br />
colorentry 32: 210 218 255 // alice blue<br />
colorentry 33: 205 92 92 // indian red<br />
colorentry 34: 46 139 87 // sea green<br />
introduce the colors “alice blue”, “indian red” and “sea green” with color index 32, 33 and 34. If<br />
blue, a default color, is to be used specification can be done via color: blue or color: 1. In<br />
order to use sea green as a node color, color: seagreen cannot be specified since “seagreen”<br />
is unknown to aiSee as a name. Its index number color: 34 has to be specified instead.<br />
The default colors can be overwritten, however this is even more tricky. Specifying<br />
colorentry 1: 210 218 255 // alice blue<br />
colorentry 2: 205 92 92 // indian red<br />
colorentry 3: 46 139 87 // sea green<br />
causes the default colors blue, red and green to be overwritten. Now if color: blue is specified,<br />
the color alice blue appears.<br />
Table 1 shows the default color map.<br />
No. Color name RGB triple No. Color name RGB triple<br />
0 white 255 255 255 16 lightblue 128 128 255<br />
1 blue 0 0 255 17 lightred 255 128 128<br />
2 red 255 0 0 18 lightgreen 128 255 128<br />
3 green 0 255 0 19 lightyellow 255 255 128<br />
4 yellow 255 255 0 20 lightmagenta 255 128 255<br />
5 magenta 255 0 255 21 lightcyan 128 255 255<br />
6 cyan 0 255 255 22 lilac 238 130 238<br />
7 darkgrey 85 85 85 23 turquoise 64 224 208<br />
8 darkblue 0 0 128 24 aquamarine 127 255 212<br />
9 darkred 128 0 0 25 khaki 240 230 140<br />
10 darkgreen 0 128 0 26 purple 160 32 240<br />
11 darkyellow 128 128 0 27 yellowgreen 154 205 50<br />
12 darkmagenta 128 0 128 28 pink 255 192 203<br />
13 darkcyan 0 128 128 29 orange 255 165 0<br />
14 gold 255 215 0 30 orchid 218 112 214<br />
15 lightgrey 170 170 170 31 black 0 0 0<br />
Table 1: Color Codes of the Default Color Map<br />
Table 2 lists the color attributes available in <strong>GDL</strong>.<br />
105