options
width: Number
The width of graph container
height: Number
The height of graph container
direction: String
The direction of the tree to start rendering. Possible values:
contentKey: String
The key of content in passed data object
siblingSpacing: Number
The spacing between sibling nodes
childrenSpacing: Number
The spacing between children and parent
highlightOnHover: Boolean
Enable/disable highlight on hover
containerClassName: Boolean
The class name for the root container
canvasStyle: String
The css styles for canvas root container
enableToolbar: Boolean
Enable/disable graph toolbar
nodeWidth: Number
The width of graph nodes
nodeHeight: Number
The height of graph nodes
nodeTemplate: Function
The HTML template for nodes
nodeBGColor: Color
The background color of nodes
nodeBGColorHover: Color
The background color on hover of nodes
borderWidth: Number
The border width of the nodes in pixels
borderStyle: String
The border style of the nodes
borderRadius: String
The border radius of the nodes in pixels
borderColor: Color
The border color of the nodes
borderColorHover: Color
The border color on hover of the nodes
edgeColor: Color
The color for the edges of the nodes
edgeColorHover: Color
The color for the edges when highlighted
enableTooltip: Boolean
Enable tooltip on hover of nodes
tooltipId: String
The tooltip HTML element id
tooltipTemplate: Function
The HTML template for tooltip
tooltipMaxWidth: Number
The max width of the tooltip
tooltipBorderColor: Color
The border color of tooltip
tooltipBGColor: Color
The background color of tooltip
fontSize: String
The size of font of the nodes
fontFamily: String
The font family of the nodes
fontWeight: Number
The font weight (thickness of the typeface) of the nodes
fontColor: Color
The font color of the nodes