Describe/explain the bug
I am utilizing Network . The issue pertains to the increased number of nodes; they are not being rendered within the confines of the canvas size, resulting in nodes being displayed beyond the canvas boundaries, which is causing them to be cut off.
To Reproduce
Adjust the repulsivity and centeringStrength and see, the nodes are cut and there is no scrollbar.
Steps to reproduce the behavior:
- Go to https://nivo.rocks/network/
- Click on adjust the repulsivity and centeringStrength and see, the nodes are cut and there is no scrollbar.
- See error in the attached screen shot
Expected behavior
Nodes should be rendered within the dimension. and the graph should be scrollable to reach all the nodes.
Screenshots
Desktop (please complete the following information):
Additional context
I have multiple range of network from 15 nodes to 150 nodes, the link distance is constant to 160.
I tried following both ways
- Setting constant centeringStrength and repulsivity for all the ranges.
- Setting dynamic centeringStrength and repulsivity based on number of node count.
Describe/explain the bug
I am utilizing Network . The issue pertains to the increased number of nodes; they are not being rendered within the confines of the canvas size, resulting in nodes being displayed beyond the canvas boundaries, which is causing them to be cut off.
To Reproduce
Adjust the repulsivity and centeringStrength and see, the nodes are cut and there is no scrollbar.
Steps to reproduce the behavior:
Expected behavior
Nodes should be rendered within the dimension. and the graph should be scrollable to reach all the nodes.
Screenshots
Desktop (please complete the following information):
Additional context
I have multiple range of network from 15 nodes to 150 nodes, the link distance is constant to 160.
I tried following both ways