Represents the network of nodes in force layout with many-body force. Force directed graph helps to visualize connections between nodes in a network. It can help to uncover relationships between groups as it naturally clusters well connected nodes. see d3-force
Size of the parent element/component (passed by the Responsive hoc)
type: shape[object Object]
Additional css classes passed from parent
type: string
defaultValue: ''
Length of each link in cluster
type: number
defaultValue: 5
Array of colors as hex color codes
type: arrayOf[object Object]
defaultValue: schemePaired
The data in the form of array of nodes and links Each node element must have an id, label and corresponding group Each link element is in the form of { source: sourceId, target: targetId value: number }
type: shape[object Object]
defaultValue: { nodes: [], links: [], }
Select a group for each node
type: func
defaultValue: d => d.index
Id of the node to be highlighted
type: node
defaultValue: undefined
Select a unique id for each node
type: func
Select a label for each node
type: func
defaultValue: d => d.label
Margins for the chart
type: shape[object Object]
defaultValue: { top: 0, right: 0, bottom: 0, left: 0, }
Handler function on cluster size changes
type: func
defaultValue: () => {}
type: func
defaultValue: undefined
type: func
defaultValue: undefined
Select the radius of each node
type: func
defaultValue: () => 30
Handle diagram save functionality
type: func
defaultValue: () => {}
If true, use voronoi interpolation
type: bool
defaultValue: false
Select the value for link The value of link is corresponding reflected on the width of link
type: func
defaultValue: () => 1