Network Graphs
General parameters used in networks
approximateNodePositions
boolean
Flag to force approximate X, Y node positions.
Default:
false
Used in:
Network
attractiveForceFunction
option
Type of function to apply when calculating attractive force in
forceDirected network layouts
Default:
FruchtermanReingold
Used in:
Network
autoHideOnDecorationsCenter
boolean
Flag to hide node when decorations are positioned on the center
Default:
false
Used in:
Network
calculateLayout
boolean
Flag to force or not to calculate the network layout.
Default:
true
Used in:
Network
filterEdgeBy
filter
Filter edges by their properties used in network graphs
Default:
[]
Used in:
Network
filterNodeBy
filter
Filter nodes by their properties used in network graphs
Default:
[]
Used in:
Network
highlightNode
array
Name of nodes in the 'data.nodes' object to highlight.
Default:
[]
Used in:
Network
initialTemperature
integer
Initial temperature to limit displacement at later stages of forceDirected
and organic layouts. A value based on the number of
node and edges will be assigned if not specified
Default:
Used in:
Network
layoutTime
integer
Time in milliseconds used to calculate the layout for the network
Default:
15
Used in:
Network
moveParentsWithChildren
boolean
Flag to make parents move when a child is moved
Default:
false
Used in:
Network
networkForceConstant
float
Constant used for calculating attractive and repulsive forces in
forcedDirected and organic layouts. A value based on
the average area per node will be assigned if not
specified
Default:
Used in:
Network
networkFreeze
boolean
Flag to prevent autoscaling for the network layout. Useful when images are
part of the network.
Default:
false
Used in:
Network
networkFreezeOnLoad
boolean
Flag to prevent autoscaling for the network layout after loading. Useful
when images are part of the network.
Default:
false
Used in:
Network
networkNodeMinDistance
integer
Minimum distance between nodes in forceDirected and organic layouts
Default:
4
Used in:
Network
networkNodesOnTop
boolean
Order to use when drawing nodes and edges in the networks
Default:
true
Used in:
Network
networkStackStates
integer
Number of states to keep in the network stack after a drag or move
Default:
8
Used in:
Network
Node configurable properties
Default:
['x', 'y', 'z', 'shape', 'color', 'outline', 'size', 'width', 'height', 'pattern', 'rotate', 'outlineWidth', 'imagePath', 'zIndex', 'eventless']
Used in:
Network
nodeFontSize
integer
Size in pixels for the font size of text in the networks
Default:
20
Used in:
Network
nodeHighlightColor
color
The color for the highlighted nodes.
Default:
rgb(255,0,0)
Used in:
Network
nodeScaleFontFactor
float
Scaling factor used to increse or decrease network text font size in the
canvas.
Default:
1
Used in:
Network
nodeSize
integer
Length in pixels for the size of the nodes in the network
Default:
20
Used in:
Network
overrideEventlessNodes
boolean
Flag to override nodes that do not take events to be able to edit them
Default:
false
Used in:
Network
preScaleNetwork
boolean
Flag to prescale or not the network. This is an aesthetic parameter to make
the graph look nicer... Sometimes...
Default:
false
Used in:
Network
repulsiveForceFunction
option
Type of function to apply when calculating repulsive force in forceDirected
network layouts
Default:
square
Used in:
Network
showHiddenChildEdges
boolean
Flag to show or not children nodes when the parent node is hidden.
Default:
true
Used in:
Network
showNetworkDecorationsLegend
boolean
Flag to show node legends in the networks
Default:
true
Used in:
Network
showNetworkEdgesLegend
boolean
Flag to show edge legends in the networks
Default:
true
Used in:
Network
showNetworkNodesLegend
boolean
Flag to show node legends in the networks
Default:
true
Used in:
Network
showNetworkRadialLayout
boolean
Flag to show or not a radial layout wire.
Default:
false
Used in:
Network
showNetworkTextLegend
boolean
Flag to show node legends in the networks
Default:
true
Used in:
Network
showNodeNameThreshold
integer
Thereshold used to set the limit to hide or display the name of nodes in a
network. If the number of nodes exceed this thereshold
then the name will not be shown.
Default:
50
Used in:
Network
sizeDecorationBy
string
Name of the attribute to size the network decoration.
Default:
false
Used in:
Network
Flag to skip click events after a mouse down event in the networks when the
eventModel is global
Default:
Used in:
Network
temperature
integer
Temperature to limit displacement at later stages of forceDirected and
organic layouts. A value based on the number of node
and edges will be assigned if not specified
Default:
Used in:
Network