| Package | com.yworks.graph.drawing |
| Interface | public interface IGroupBoundsCalculator |
IGroupedGraph.
Implementations of this interface will be queried from INode's
lookup method.
See also
| Method | Defined By | ||
|---|---|---|---|
Calculates the bounds of the layout
for the given groupNode that is a group node
in the hierarchy. | IGroupBoundsCalculator | ||
| calculateBounds | () | method |
public function calculateBounds(hierarchy:INodeHierarchy, groupNode:INode):IRectangle
Calculates the bounds of the layout
for the given groupNode that is a group node
in the hierarchy.
Parameters
hierarchy:INodeHierarchy — The hierarchy to use for the calculation.
This is the hierarchy of the nodes that describe the nesting of the group nodes. | |
groupNode:INode — The node to calculate the bounds for.
|
IRectangle — The minimum bounds to use for the given group node.
|