Interface for implementations that can calculate the bounds of a group node in a grouped graph.
Inheritance Hierarchy
IGroupBoundsCalculator
Remarks
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.graph.IGroupBoundsCalculator
Methods
Calculates the bounds of the layout for the given groupNode
that is a group node in the graph
.
Static Methods
Creates an implementation of the interface IGroupBoundsCalculator by using the given function as implementation for its calculateBounds method.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- calculateBounds - function(IGraph, INode):Rect
- A function for IGroupBoundsCalculator's single abstract method calculateBounds.
Returns
- ↪IGroupBoundsCalculator
- An instance of the IGroupBoundsCalculator interface based on the given function.