next up previous contents index
Next: Icons and Additional Fonts Up: Graph Description Language (GDL) Previous: Edge Attributes

   
Colors

aiSee has a color map of 256 colors of which 254 can be used. The first 32 colors (index 0 - 31) of the color map are the default colors. These colors can be specified by name, all other colors being specified by their color map index number. The color map is changed by specifying a sequence of color entry attributes. For instance,



colorentry 32 : 210 218 255      /* alice blue */
colorentry 33 : 205  92  92      /* indian red */
colorentry 34 :  46 139  87      /* sea green  */
introduce the colors ``alice blue'', ``indian red'' and ``sea green'' with color index 32, 33 and 34. If blue, a default color, is to be used specification can be done via color: blue or color: 1. In order to use sea green as a node color, color:seagreen cannot be specified since ``seagreen'' is unknown to aiSee as a name. Its index number color: 34 has to be specified instead.

The default colors can be overwritten, however this is even more tricky. Specifying     



colorentry 1 : 210 218 255      /* alice blue */
colorentry 2 : 205  92  92      /* indian red */
colorentry 3 :  46 139  87      /* sea green  */
causes the default colors blue, red and green to be overwritten. Now if color: blue is specified, the color alice blue appears. Table 1 shows the default color map.


 
Table 1: Color Codes of the Default Color Map
Color name No. Color name No. Color name No. Color name No.
white 00 darkblue 08 lightblue 16 aquamarine 24
blue 01 darkred 09 lightred 17 khaki 25
red 02 darkgreen 10 lightgreen 18 purple 26
green 03 darkyellow 11 lightyellow 19 yellowgreen 27
yellow 04 darkmagenta 12 lightmagenta 20 pink 28
magenta 05 darkcyan 13 lightcyan 21 orange 29
cyan 06 gold 14 lilac 22 orchid 30
darkgrey 07 lightgrey 15 turquoise 23 black 31
 


next up previous contents index
Next: Icons and Additional Fonts Up: Graph Description Language (GDL) Previous: Edge Attributes
© AbsInt Angewandte Informatik GmbH