root

defines ID of the root item for autoplacement

string root;

Example

webix.ui({
  view:"diagram",
  root:"root",
});

Related samples

Details

The root property defines the origin from which auto-branching starts. If the root is not specified, Diagram will define it itself. Requires autoplace to be enabled.

See also
Back to top