Abstract base class for classes that specify custom data for a layout calculation on IGraph instances.
Remarks
This class allows specifying per-item data to ILayoutAlgorithms.
Implementations of this class provide item-specific configuration options for a specific layout. Properties that are unrelated to specific items but affect the layout calculation are typically available on the specific layout class itself.
The LayoutExecutor applies these configurations when started.
We do not regularly recommend subclassing this type. In order to pass custom data to a layout, consider using the GenericLayoutData class, instead.
On a technical level, instances of this class collect information from the elements in the IGraph that is laid out and make sure it gets attached to the LayoutGraph for the layout algorithm to consider.
Type Details
- yfiles module
- view-layout-bridge
- yfiles-umd modules
- view-layout-bridge
- Legacy UMD name
- yfiles.layout.LayoutData
See Also
Methods
Combines this instance with the given layout data.
Remarks
Parameters
A map of options to pass to the method.
- data - LayoutData
- The LayoutData to combine this instance with.
Returns
- ↪LayoutData
- The combined layout data.