How to move a complete diagram to left/right on click of node?

we have a diagram which is big, and on click of node we will show a fixed properties section on right side because of which the node on the right hand side is overlapped with the properties section so i want move the diagram to left when node is clicked.

Isn’t this just a matter of changing Diagram.position? You might want to call one of the Diagram’s “scroll…” methods.

If you are asking about moving or resizing the DIV element, that depends on how you set it up.