A BufferedLayout is a hull algorithm that invokes its core layout algorithm on a copy of the input graph.
Remarks
After the layout process has finished, the calculated layout will be written back to the original graph.
This class also provides the possibility to perform arbitrary layout algorithms merely on a graph interface plus associated graph layout. This comes in handy if an application has its own graph and only provides a graph interface adapter to the yFiles graph layout machinery.
Default Values of Properties
coreLayout | null |
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.BufferedLayout
See Also
Constructors
Creates a new BufferedLayout instance using the given core layout algorithm.
Parameters
A map of options to pass to the method.
- coreLayouter - ILayoutAlgorithm
- the core layout routine
Properties
Gets or sets the core layout algorithm that is wrapped by this stage.
Methods
Applies the layout calculated by the core layout algorithm to the input graph.
Remarks
Parameters
A map of options to pass to the method.
- graph - LayoutGraph
- the input graph
See Also
Implements
Invokes the layout process of the core layout algorithm.
Remarks
Parameters
A map of options to pass to the method.
- graph - LayoutGraph
- the input graph