documentationfor yFiles for HTML 2.6

MinimumSizeGroupBoundsCalculator

This ILayoutGroupBoundsCalculator allows custom insets for group nodes and guarantees that their provided minimum sizes will be maintained.

Inheritance Hierarchy
InsetsGroupBoundsCalculator
MinimumSizeGroupBoundsCalculator
Implemented Interfaces

Remarks

As a subclass of InsetsGroupBoundsCalculator, this class supports custom insets for each group node. Furthermore, it guarantees that a desired minimum size is maintained. The minimum sizes are provided by a IDataProvider registered with the graph using the specified minimum node size key.

Default Values of Properties

defaultMinimumNodeSizeYDimension(0,0)A object with width and height set to 0.
minimumNodeSizeDpKeyMINIMUM_NODE_SIZE_DP_KEY
xAlignment0.5Nodes grow equally to the left and to the right, while the center remains unchanged.
yAlignment0.5Nodes grow equally upwards and downwards, while the center remains unchanged.

Type Details

yfiles module
layout-core
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.layout.MinimumSizeGroupBoundsCalculator

See Also

This implementation is intended to be used with class RecursiveGroupLayout and assumes that the graph given to method calculateBounds only contains the content of the specified group (which is always true if it is called within the RecursiveGroupLayout).

Constructors

Properties

Methods