defines the current zoom level
webix.ui({
view:"diagram",
data: [
{ id:"1", value:"Managing Director"},
{ id:"1.1", value:"Base Manager"},
{ id:"1.1.1", value:"Store Manager" },
// other blocks
],
links: [
{ source:"1", target:"1.1"},
{ source:"1.1", target:"1.1.1"},
// other links
]
// define current zoom to be 200%
zoom: 2, });