I am using the Javascript InfoVis SpaceTree. And my SpaceTree have more then 500 nodes. Everything working fine until I drag the tree (navigate). It Depends on how far I drag it, Then select node which have next level tree, that selected node will rendered somewhere/outside the view port. So I have to drag the chart back so that it can be seen.
Is there a way to tell SpaceTree to center the next selected node to the view port before redrawing the nodes?
Ref.
https://philogb.github.io/jit/static/v20/Jit/Examples/Spacetree/example1.html
Thanks in advance for any help!