documentationfor yFiles for HTML 3.0.0.4

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
IGroupPaddingProvider

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.

Type Details

yFiles module
view

See Also

Methods

Static Methods