Interface for implementations that can calculate the bounds of a group node in a grouped graph.
Inheritance Hierarchy
Remarks
Implementations of this interface will be queried from INode's ILookup.lookup method.
Members
No filters for this type
Methods
Calculates the bounds of the INode.layout for the group node whose lookup returned this provider.
Calculates the bounds of the INode.layout for the group node whose lookup returned this provider.
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.