autoplace

defines whether to place blocks automatically

boolean autoplace;

Example

webix.ui({ 
  id:"diagram",
  view:"diagram",
  autoplace: false });


Default value:

true

Related samples

Details

If the property is enabled, Diagram will distribute its blocks automatically depending on their relations (links). It will ignore block coordinates defined in their data objects.

You can also apply autoplacement in runtime via the autoPlace method.

If the property is disabled, Diagram will place its blocks according to their x and y fields defined in their data objects. If a block does not have coordinates, it will be placed by x:0, y:0.

See also
Back to top