ILayoutAlgorithm describes the general interface for algorithms that perform a layout process on a LayoutGraph.
Inheritance Hierarchy
ILayoutAlgorithm
Remarks
The main and only method for invoking the layout calculation is applyLayout. Implementing classes will arrange the graph there.
Type Details
- yFiles module
- algorithms
See Also
The Layout Stage Concept,
Layout of Unconnected Components,
Graph Analysis,
Customizing Automatic Layout,
Writing a Custom Layout Stage,
Configuration of Layouts,
Binding Data to the LayoutGraph and its Items,
Hierarchical Layout,
Organic Layout,
Orthogonal Layout,
Tree Layout,
Radial Tree Layout (formerly: Balloon Layout),
Radial Layout,
Radial Group Layout (formerly: Cactus Group Layout),
Circular Layout,
Compact Disk Layout,
Series-parallel Layout
Methods
Main layout routine that assigns new layout information to the given graph.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- graph - LayoutGraph
- the input graph to process