     
Color specifications
» Node colors
color: color entry
textcolor: color entry
bordercolor: color entry
» Edge color
color: color entry
» Graph background
color: color entry
» Color entries
- Color name or
- Color index number

Color names and indices
white 0
blue 1 darkyellow 11 lightcyan 21
red 2 darkmagenta 12 lilac 22
green 3 darkcyan 13 turquoise 23
yellow 4 gold 14 aquamarine 24
magenta 5 lightgrey 15 khaki 25
cyan 6 lightblue 16 purple 26
darkgrey 7 lightred 17 yellowgreen 27
darkblue 8 lightgreen 18 pink 28
darkred 9 lightyellow 19 orange 29
darkgreen 10 lightmagenta 20 orchid 30
black 31
See User Manual for the corresponding RGB triples.

Custom colors
» A custom color is specified by
colorentry index: red value green value blue value
» Color values are integers between 0 and 255
» Examples
colorentry 35: 210 218 255 // alice blue
colorentry 42: 205 92 92 // indian red
colorentry 78: 46 139 87 // sea green

Example (see slide)
graph: {color: lightyellow
colorentry 32: 0 0 128
node: { title: "aiSee"
shape: trapeze
color: lightblue
bordercolor: blue }
node: { title: " GDL "
shape: rparallelogram
color: 16
bordercolor: 1
linestyle: dotted }
node: { title: "AbsInt"
shape: circle
color: darkred
textcolor: 0
bordercolor: red }
edge: { source:"AbsInt" target:"aiSee" color:32 }
edge: { source:"AbsInt" target:" GDL " color:32
linestyle:dotted }
}

Hints
» A custom color must be specified before it can be used:
graph: {
node: {title:"Sense of Life" color:42} // this won't work
colorentry 42: 42 42 42
}
» Yet, if multiple specifications compete, the last one applies for the entire graph:
graph: {
colorentry 42: 255 0 0 // 42 := red
node: {title:"??" color:42} // the node is blue
colorentry 42: 0 255 0 // 42 := green
colorentry 42: 0 0 255 // 42 := blue
node: {title:"!!" color:42} // the node is blue
}
» The default colors can be overwritten:
graph: {
node: { title:"oops" color: red } // the node is blue
colorentry 02: 0 0 255 // red := blue
colorentry 01: 174 218 255 // blue := my blue
node: { title:"uups" color: red } // the node is blue
node: { title:"what a mess" color: blue}
// the node is my blue
}
» ASCII control characters
can be used in order to influence text color within
» aiSee understands the following alternative notations:
darkgray // instead of darkgrey
lightgray // instead of lightgrey

» Next: Edge arrow styles and line thickness
» Prev.: Node shapes and line styles
» Index
|