Recenter on selected Node

Hi !

I need to center my diagram after the data loading. The node is selected but my diagram is not center on my selected node.

   var nodelocal = myFullDiagram.findPartForKey(;


Are you executing that code in an “InitialLayoutCompleted” DiagramEvent listener?

No just in the succes of my ajax resquet that retrieve data.

I will try your solution.