Nivo dendogram graph.
For now this component doesn't support labels, but that's something you could do using a custom layer.
While it's part of the nivo internals, and not formally documented,
you could use the useDendogram hook directly in order to build
a fully custom component, this hook takes a config object which
is very close to the component's props.
The hierarchical data object.
'id'The key or function to use to retrieve nodes identity.
'top-to-bottom'Defines the diagram layout.
Chart width.
Chart height.
Chart margin.
Define style for common elements such as labels, axes…
16Defines the size of the nodes, statically or dynamically.
Defines the size of active nodes, statically or dynamically.
Defines the size of inactive nodes, statically or dynamically.
Defines the color of the nodes, statically or dynamically.
1Defines the thickness of the links, statically or dynamically.
Defines the size of active links, statically or dynamically.
Defines the thickness of inactive links, statically or dynamically.
Defines the color of the links.
'links', 'nodes', 'mesh']Defines the order of layers and add custom layers.
Override the default node component.
Override the default link component.
trueEnable/disable interactivity.
trueUse a voronoi mesh to detect mouse interactions.
InfinityPrevent nodes from being detected if the cursor is too far away from the node.
falseDisplay mesh used to detect mouse interactions (voronoi cells).
Highlight active node ancestor nodes.
Highlight active node descendant nodes.
Highlight active node ancestor links.
Highlight active node descendant links.
onMouseEnter handler for nodes.
onMouseMove handler for nodes.
onMouseLeave handler for nodes.
onClick handler for nodes.
Tooltip component for nodes.
onMouseEnter handler for links (useMesh must be false).
onMouseMove handler for links (useMesh must be false).
onMouseLeave handler for links (useMesh must be false).
onClick handler for links (useMesh must be false).
Tooltip component for links (useMesh must be false).
Main element role attribute.
Main element aria-label.
Main element aria-labelledby.
Main element aria-describedby.
trueEnable/disable transitions.
'gentle'Motion config for react-spring, either a preset or a custom configuration.