public interface IGroupBoundsCalculator
IGroupBoundsCalculator
is responsible for calculating the bounds of a group node during a layout process.Modifier and Type | Method and Description |
---|---|
Rectangle2D |
calculateBounds(LayoutGraph graph,
Node groupNode,
NodeList children)
Calculates the bounds of the given group node that contains the given list of child nodes.
|
Rectangle2D calculateBounds(LayoutGraph graph, Node groupNode, NodeList children)
This method is called during the layout process.
graph
- the input graphgroupNode
- the group node whose bounds will be calculatedchildren
- a NodeList
containing the nodes that reside inside the group nodeRectangle2D
instance that describes the bounds of the group node