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
}
If multiple specifications compete, the last one applies:
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 favorite blue
node: { title:"uups" color: red } // the node is blue
node: { title:"I hate these ugly default colors" color: blue}
// the node is my favorite blue
}
in order to influence the text color of a node,
an edge label or an information window
aiSee supports the following alternative notations:
darkgray // instead of darkgrey
lightgray // instead of lightgrey
|