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
Is there any way to programmatically pan to the location of a node?
For example, if the orgchart becomes really wide we may want to pan to the top-most node so that it appears on screen. Or, we might want to have a side menu that lists items from the current 'node levels deep' which, when selected, jumps to the location of that node in the orgchart.
I have attempted this myself, but I am unable to figure it out - I've dived into grabbing what I can with document.getElementsByClassName("orgchart") but this hasn't worked for me - it's probably not ideal to be trying to go through the DOM anyway.
The text was updated successfully, but these errors were encountered:
Is there any way to programmatically pan to the location of a node?
For example, if the orgchart becomes really wide we may want to pan to the top-most node so that it appears on screen. Or, we might want to have a side menu that lists items from the current 'node levels deep' which, when selected, jumps to the location of that node in the orgchart.
I have attempted this myself, but I am unable to figure it out - I've dived into grabbing what I can with document.getElementsByClassName("orgchart") but this hasn't worked for me - it's probably not ideal to be trying to go through the DOM anyway.
The text was updated successfully, but these errors were encountered: