A ILayoutStage is a layout algorithm that represents a stage of a larger layout process.
Remarks
It delegates the core layout process to another layout algorithm. Implementing classes may perform pre-processing steps before the core layout algorithm gets called and post-processing steps afterwards.
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.ILayoutStage
See Also
MultiStageLayout,
Edge Routing Styles,
The Layout Stage Concept,
Customizing Automatic Layout,
Writing a Custom Layout Stage
Properties
Gets or sets the core layout algorithm.
Remarks
This algorithm is wrapped by this stage. It is invoked in applyLayout. The ILayoutStage may add pre- and post-processing steps before and after calling the core layout algorithm.
See Also
Methods
Main layout routine that assigns new layout information to the given graph.
Remarks
The call to this routine will only succeed if the layout algorithm can handle the input 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
See Also
Migrating from Synchronous to Asynchronous Layout Calculation,
Using Buffered Layout,
Writing a Custom Layout Stage