If you want the zoom point to be where the mouse is:
myDiagram.zoomPoint = myDiagram.lastInput.viewPoint;