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
Hi Pierre! I am using Treeviz tree diagram with React. I am changing isHorizontal props of tree dinamically, whenever tree data is too long i switch to display it vertically and when my dataset is small I display it horizontally. I want to do that if i click one of the tree nodes it changes the dataset re-render my tree. It successfully changes from horizontal to vertical and vica versa but my root will stay in the same position. How could i centralize my tree whenever it re-renders.
The text was updated successfully, but these errors were encountered:
Hello, probably not supported right now except if you manually "hack" the elements in the page.
I'll look into making an update this week to tackle your problem although I can not promise anything in terms of timing
Hi Pierre! I am using Treeviz tree diagram with React. I am changing isHorizontal props of tree dinamically, whenever tree data is too long i switch to display it vertically and when my dataset is small I display it horizontally. I want to do that if i click one of the tree nodes it changes the dataset re-render my tree. It successfully changes from horizontal to vertical and vica versa but my root will stay in the same position. How could i centralize my tree whenever it re-renders.
The text was updated successfully, but these errors were encountered: