How to zoom to a selected node

On the diagram a node is selected with maximum links, but how to zoom to that particular node on the diagram.

Call DiagramPanel.CenterRect or DiagramPanel.MakeVisible.

thats working but i want to increase the zoom level of the diagram to that particular node in order to view it

Set the DiagramPanel.Scale first and then call DiagramPanel.CenterPart or DiagramPanel.CenterRect.