I

IGroupBoundsCalculator

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 lookup method.

Members

No filters for this type

Methods

Calculates the bounds of the layout for the group node whose lookup returned this provider.
abstract

Parameters

graph: IGraph
The graph which holds the group node.

Return Value

Rect
The minimum bounds to use for the group node.

Static Methods

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.