ssthouse / tree-chart

Flexible tree chart using Canvas and Svg, powered by D3.js; ✅Support Vue, Vue3 and React;
https://ssthouse.github.io/tree-chart/#/svgTree
MIT License
431 stars 97 forks source link

restore scale #129

Open RakanSFD opened 1 year ago

RakanSFD commented 1 year ago

when I open the component then close it and re-open it again with different data. the nodes are far left or right depend on the action I made in the first time. sometimes the user thinks there is no data because it hidden far right or left. is there anyway to solve it? btw I restore scale but didn't work