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
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