The BringIntoCenter and BringIntoViewport methods will assist you to bring the diagramming elements to the center or viewport of the diagram. The methods are exposed in the Info property of diagram and diagramming elements.
This can be achieved by specifying the bounds of Node or Connector in the respective methods. The following code example demonstrates the same.
This page will automatically be redirected to the sign-in page in 10 seconds.