Skip to main content

zoomOut()

Description

Zooms out the diagram

Usage

zoomOut(step?: number): void;

Parameters

  • step - (optional) the step of zooming out the diagram; by default: 0.05

Example

const editor = new dhx.DiagramEditor("editor_container");
editor.parse(data);

editor.zoomOut(0.1);

Change log: Added in v4.1