I

IGroupPaddingProvider

Implementations of this interface yield the padding for a group node around its child nodes when calculating the group node's size.
Inheritance Hierarchy

Remarks

Implementations of this interface will be queried from an INode's lookup method and should return the padding for this node. The default implementation of a graph uses this instance to determine the padding of a group node. This happens in the calculateMinimumEnclosedArea method. A custom provider can be registered at the groupPaddingProvider property. The padding ultimately is applied for example in enlargeGroupNode when interacting with group nodes.

See Also

API

padding

Members

No filters for this type

Methods

Returns the padding around child nodes for the group node whose lookup returned this provider.
abstract

Return Value

Insets
The padding for the node.

Static Methods

static

Parameters

getPadding: function

Return Value

IGroupPaddingProvider