Arranges the diagram with the given layout.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function arrange (layout) |
The layout algorithm to apply.
Available layouts are SpringLayout, TreeLayout, BorderedTreeLayout, LayeredLayout, TreeMapLayout, FractalLayout, FlowchartLayout.