Open onra2 opened 1 year ago
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...
Same here under Chrome
Also, with many nodes/edges, custom template edges disappear
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 `
`
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