A ILayoutGroupBoundsCalculator is responsible for calculating the bounds of a group node during a layout process.
Inheritance Hierarchy
ILayoutGroupBoundsCalculator
Type Details
- yFiles module
- algorithms
Methods
calculateBounds
(graph: LayoutGraph, groupNode: LayoutNode, children: IListEnumerable<LayoutNode>) : RectCalculates the bounds of the given group node that contains the given list of child nodes.
Remarks
This method is called during the layout process.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- graph - LayoutGraph
- The input graph
- groupNode - LayoutNode
- The group node whose bounds will be calculated
- children - IListEnumerable<LayoutNode>
- An IListEnumerable<Node> containing the nodes that reside inside the group node