Specifies an auto-layout algorithm that the widget uses to build a diagram.
String
Object
The layout option is in effect when a diagram is bound to a data source using the nodes option.
View Demo
Specifies the diagram layout orientation.
Specifies the diagram layout type.
When the type option is set to layered or tree the shape coordinates specified by the leftExpr and topExpr options are ignored.