Interface for implementations that can calculate the bounds of a group node in a grouped graph.
Inheritance Hierarchy
Members
No filters for this type
Methods
Static Methods
Creates an implementation of the interface IGroupBoundsCalculator by using the given function as implementation for its calculateBounds method.
Creates an implementation of the interface IGroupBoundsCalculator by using the given function as implementation for its calculateBounds method.
static
Parameters
- calculateBounds: function(IGraph): Rect
- A function for IGroupBoundsCalculator's single abstract method calculateBounds.
Return Value
- IGroupBoundsCalculator
- An instance of the IGroupBoundsCalculator interface based on the given function.