A ILayoutGroupBoundsCalculator is responsible for calculating the bounds of a group node during a layout process.
Inheritance Hierarchy
See Also
Developer's Guide
Members
No filters for this type
Methods
Calculates the bounds of the given group node that contains the given list of child nodes.
Calculates the bounds of the given group node that contains the given list of child nodes.
This method is called during the layout process.
abstract
Parameters
- graph: LayoutGraph
- The input graph
- groupNode: LayoutNode
- The group node whose bounds will be calculated
- children: IListEnumerable<LayoutNode>conversion
- An IListEnumerable<Node> containing the nodes that reside inside the group node
Implemented in
GroupBoundsCalculator.calculateBoundsStatic Methods
create
(calculateBounds: function(LayoutGraph, LayoutNode, IListEnumerable<LayoutNode>): Rect): ILayoutGroupBoundsCalculatorstaticCreates an implementation of the interface ILayoutGroupBoundsCalculator by using the given function as implementation for its calculateBounds method.
create
(calculateBounds: function(LayoutGraph, LayoutNode, IListEnumerable<LayoutNode>): Rect): ILayoutGroupBoundsCalculatorstatic
Creates an implementation of the interface ILayoutGroupBoundsCalculator by using the given function as implementation for its calculateBounds method.
static
Parameters
- calculateBounds: function(LayoutGraph, LayoutNode, IListEnumerable<LayoutNode>): Rect
- A function for ILayoutGroupBoundsCalculator's single abstract method calculateBounds.
Return Value
- ILayoutGroupBoundsCalculator
- An instance of the ILayoutGroupBoundsCalculator interface based on the given function.