zoom

defines the current zoom level

number zoom;

Example

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, });


Default value:

1 (100%) Back to top