Diagram now zooms on double click and pans on drag.