A variation around the Network component. Well suited for large data sets as it does not impact DOM tree depth, however you'll lose the isomorphic ability and transitions.
The responsive alternative of this component is
ResponsiveNetworkCanvas.
Please note that you can also use the useNetwork React hook if you want
to handle the rendering by yourself, it accepts an object with almost
the same props as the component and returns computed nodes & links.
Chart data defining nodes and links.
Chart width for non-responsive component.
Chart default width for responsive component.
Chart height for non-responsive component.
Chart default height for responsive component.
Debounce width/height updates for responsive component.
A callback for when responsive component is resized.
'Depends on device'Adjust pixel ratio, useful for HiDPI screens.
Chart margin.
Ref to the chart's container. Used on this page to generate/download the chart's image via html-to-image.