uber / react-digraph

A library for creating directed graph editors
MIT License
2.62k stars 268 forks source link

Error: <g> attribute transform: Expected number, "translate(NaN,NaN) scale(N…". #333

Open bdnsergi opened 2 years ago

bdnsergi commented 2 years ago

Hi, I created a component Graph.js where call -GraphView with params- it is working good if I call this component only once but the problem is when I try to show -Graph- in diferents tabs. In that way in the first tab it works ok but in the others not.

Work ok --> image

image

Not works --> image

image

And the errors are: --> image

image

Thanks a lot for any help.

bdnsergi commented 2 years ago

Sorry version lib: "react-digraph": "8.0.0-alpha.1",