Node, Link,
and Subgraph objects have a number of properties
that can be used to change their appearance. These properties are
used in bindings of the default node and link template (see Using templates and bindings).
Node properties | |
---|---|
label | The label of the node. |
backgroundColor | The node background color. |
selectedBackgroundColor | The node background color when selected. |
borderColor | The color of the border. |
textColor | The color of the text. |
selectedTextColor | The color of the text when selected. |
Link properties | |
---|---|
strokeColor | The color of the link. |
strokeWidth | The width of the link. |
selectedStrokeColor | The color of the link when selected. |
selectedStrokeWidth | The width of the link when selected. |
Subgraph properties (Subgraph
inherits all Node properties) |
|
---|---|
headerColor | The background color of the subgraph header. |
selectedHeaderColor | The background color of the subgraph header
when selected. |
graphBackgroundColor | The background color of the embedded Graph. |