Navigate to node

hi , i have a huge graph ~6000 nodes,
there is an option that on click on a button and i can navigate to this node on the diagram,
I tried with this with the focus function but it iw not navigate to the entity it just mark him.


thanks
or

Have you tried calling Diagram.centerRect or Diagram.scrollToRect?

no…
there is any demo of the functions?

yep it works thanks :)