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]
The radius of each voronoi circle
type: number
defaultValue: 30
Additional css classes passed from parent
type: string
defaultValue: ''
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: [], }
Length of each link
type: number
defaultValue: 5
Select group of each node element
type: func
defaultValue: d => d.index
Select a unique id for each node
type: func
Margins for the chart
type: shape[object Object]
defaultValue: { top: 0, right: 0, bottom: 0, left: 0, }
Handle diagram save functionality
type: func
defaultValue: () => {}
if true, use voronoi interpolation
type: bool
defaultValue: true
Select the value for link The value of link is corresponding reflected on the width of link
type: func
defaultValue: () => 1