You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Making a graph with custom svg template (copied from the ngx graph doc) with +- 15 nodes works fine. Making the same graph but with 30+ nodes breaks it, the more nodes you add the more it gets stretched. Also i found that when calling fitGraph() it stretches the rectangle.
To Reproduce
Steps to reproduce the behavior:
Create a graph with custom svg as show in the documentation
`
`
2. Make the same graph as shown in the screenshots below
3. If you make a graph with 10 nodes it will be fine, make another with a lot more nodes
4. See error
Expected behavior
i expect the rectangle to not change size based on the number of nodes.
Same with ngx 8.0.2
But strange: The bug does not appear under Firefox, there everything looks good. But under Chrome-based Edge the rectangles are also broken...
Describe the bug
Making a graph with custom svg template (copied from the ngx graph doc) with +- 15 nodes works fine. Making the same graph but with 30+ nodes breaks it, the more nodes you add the more it gets stretched. Also i found that when calling fitGraph() it stretches the rectangle.
To Reproduce
Steps to reproduce the behavior:
`
Expected behavior
i expect the rectangle to not change size based on the number of nodes.
Screenshots
20 Nodes correct:
https://i.imgur.com/p7Kgdp4.png
30+ Nodes incorrect:
https://i.imgur.com/zy51dAw.png
ngx-graph version
8.0.3
The text was updated successfully, but these errors were encountered: