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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.