@Tany wrote:
Hi,
My diagram could contain lots of elements, where some of them are groups.
If the user wants to search for a particular node i use thediagram.centerRect(node.actualBounds);
diagram.select(node);Yet, if the node is in a group (could be nested groups), and the node location outside the diagram bounds (namely the node position is (1000,1000) while the diagram div width and height are width:800px; height:800px).
even if i problematically expand the group, gojs does not center the node.
The user has to scroll down to position (1000,1000) to see it.
By the way, if the group is already expanded, gojs does jump to the node location and it is seen.
Please advise.
Posts: 2
Participants: 2