ClusterForceLayout allows to represent the hierarchies and interconnection between entities in the form of nodes and links. The nodes are further grouped together.
Size of the parent element/component (passed by the Responsive hoc)
type: shape[object Object]
Additional css classes passed from parent.
type: string
defaultValue: ''
Array of colors as hex color codes used to color each element
type: func
defaultValue: interpolateRainbow
The data points for each element
type: arrayOf[object Object]
defaultValue: { }
Select group id of each element
type: func
defaultValue: d => d.cluster
Select unique id of each element
type: func
Margins for the chart
type: shape[object Object]
defaultValue: { top: 0, right: 0, bottom: 0, left: 0, }
Handle hover action
type: func
defaultValue: () => {}
Scale the size of each element. Radius of each element is calculated as valueSelector(element) * scaleFactor;
type: number
defaultValue: 2
Handle svg save functionality
type: func
defaultValue: () => {}
Select value of each element
type: func
defaultValue: d => d.score