defines the current zoom level
webix.ui({
view:"diagram-editor",
data: base_data,
links: base_links,
// define default zoom as 2
zoom: 2, });
As it is a reactive property, you can access and alter it dynamically via the editor state:
// define zoom to be 50%
$$("editor").getState().zoom = 0.5;