Blitzboard
Search…
Nodes

Caption

By default, only the node ID is shown.
To show node IDs or node labels, you can set id or label, respectively. To show values of node properties, you can list the node properties.
Show node IDs, node labels, and the values of name property.
1
node: {
2
caption: ['id', 'label', 'name'],
3
},
Copied!

Icon

By default, node icons are selected automatically based on labels.
Disable automatic icon selection.
1
defaultIcon: false,
Copied!
Select icons from Iconify and set them for the nodes with particular labels.
1
icon: {
2
'person': 'ion:person-outline',
3
'car': 'bx:car',
4
}
Copied!

Color

By default, node colors are selected automatically based on labels.
To set custom colors, you can fill color string values or select the node properties which hold color string values.
Set a single color for all nodes with any label.
1
color: 'red',
Copied!
Set single colors for the nodes with particular labels.
1
color: {
2
'person': 'red',
3
'car': 'blue',
4
},
Copied!
Set the values of color property for all nodes with any label.
1
color: '@color',
Copied!
The combination of the above.
1
color: {
2
'person': 'red',
3
'car': '@color',
4
},
Copied!

Size

By default, node size is set to 25.
To set custom sizes, you can fill size number values or select the node properties which hold size number values.
Set a single size for all nodes with any label.
1
size: 15,
Copied!
Set single sizes for the nodes with particular labels.
1
size: {
2
'person': 15,
3
'car': 20,
4
},
Copied!
Set the values of size property for all nodes with any label.
1
size: '@size',
Copied!
The combination of the above.
1
size: {
2
'person': 15,
3
'car': '@size',
4
},`
Copied!

Shape

By default, node shape is set to dot.
To set custom shapes, you can fill shape string values or select the node properties which hold shape string values.
Set a single shape for all nodes with any label.
1
shape: 'square',
Copied!
Set single sizes for the nodes with particular labels.
1
shape: {
2
'person': 'dot',
3
'car': 'square',
4
},
Copied!
Set the values of size property for all nodes with any label.
1
shape: '@shape',
Copied!
The combination of the above.
1
shape: {
2
'person': 'dot',
3
'car': '@shape',
4
},`
Copied!

Opacity

By default, node opacity is set to 1 (= not transparent at all).
To set opacity, you can set opacity number values or select the node properties which hold opacity number values.
Set opacity for all nodes with any label.
1
opacity: 0.5,
Copied!
Set opacity for the nodes with particular labels.
1
opacity: {
2
'person': 0.5,
3
'car': 0.8,
4
},
Copied!
Set the values of opacity property for all nodes with any label.
1
opacity: '@opacity',
Copied!
The combination of the above.
1
opacity: {
2
'person': 0.5,
3
'car': '@opacity',
4
},`
Copied!

Saturation

By default, node saturation is set to 100% (= fully colorful).
To set saturation, you can set opacity number values or select the node properties which hold opacity number values.
Set saturation for all nodes with any label.
1
saturation: '100%',
Copied!
For setting by labels or using property values, please see the Color section.

Brightness

By default, node brightness is set to 37%.
To set brightness, you can set opacity number values or select the node properties which hold opacity number values.
Set brightness for all nodes with any label.
1
brightness: '37%',
Copied!
For setting by labels or using property values, please see the Color section.