Package | com.yworks.yfiles.layout.hierarchic.incremental |
Class | public class GroupingSupport |
Inheritance | GroupingSupport YObject Object |
Property | Defined By | ||
---|---|---|---|
active : Boolean [read-only]
Returns whether or not groupingSupport is active. | GroupingSupport | ||
minimumGroupDistance : Number | GroupingSupport |
Method | Defined By | ||
---|---|---|---|
GroupingSupport(init:Boolean = true) | GroupingSupport | ||
assignEdgeGroupNodesToGroups(layers:Layers):void | GroupingSupport | ||
GroupingSupport | |||
equals(o:Object):Boolean | YObject | ||
Returns the direct children of the given group node. | GroupingSupport | ||
getClass():Class [override] | GroupingSupport | ||
Returns all direct and indirect children of the given group node. | GroupingSupport | ||
Returns the parent group node of the given node, or null if the given node is a top-level node. | GroupingSupport | ||
hashCode():int | YObject | ||
hideGroupNodes():void
Hides the group nodes and adjacent edges from the graph. | GroupingSupport | ||
Returns whether or not the given node is a direct or indirect child of the given group node. | GroupingSupport | ||
isGroupNode(node:Node):Boolean
Returns whether or not the given node is a non-empty group node. | GroupingSupport | ||
removeEdgeGroupAssignment(layers:Layers):void | GroupingSupport | ||
unhideGroupNodes():void
Unhides all previously hidden group nodes and adjacent edges
| GroupingSupport | ||
Visits all descendants of the given group node. | GroupingSupport |
active | property |
active:Boolean
[read-only] Returns whether or not groupingSupport is active. All return values of the methods of this class will be invalid if groupingSupport is inactive.
public function get active():Boolean
minimumGroupDistance | property |
minimumGroupDistance:Number
public function get minimumGroupDistance():Number
public function set minimumGroupDistance(value:Number):void
GroupingSupport | () | Constructor |
public function GroupingSupport(init:Boolean = true)
init:Boolean (default = true )
|
assignEdgeGroupNodesToGroups | () | method |
assignLabelNodesToGroups | () | method |
public function assignLabelNodesToGroups(layers:Layers, itemFactory:ItemFactory):void
Parameters
layers:Layers | |
itemFactory:ItemFactory |
getChildren | () | method |
public function getChildren(groupNode:Node):NodeList
Returns the direct children of the given group node.
Parameters
groupNode:Node |
NodeList |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
getDecendants | () | method |
public function getDecendants(groupNode:Node):NodeList
Returns all direct and indirect children of the given group node.
Parameters
groupNode:Node |
NodeList |
getParentNode | () | method |
public function getParentNode(node:Node):Node
Returns the parent group node of the given node, or null
if the given node is a top-level node.
Parameters
node:Node |
Node |
hideGroupNodes | () | method |
public function hideGroupNodes():void
Hides the group nodes and adjacent edges from the graph.
isDescendant | () | method |
public function isDescendant(node:Node, groupNode:Node):Boolean
Returns whether or not the given node is a direct or indirect child of the given group node.
Parameters
node:Node | |
groupNode:Node |
Boolean |
isGroupNode | () | method |
public function isGroupNode(node:Node):Boolean
Returns whether or not the given node is a non-empty group node.
Parameters
node:Node |
Boolean |
removeEdgeGroupAssignment | () | method |
unhideGroupNodes | () | method |
public function unhideGroupNodes():void
Unhides all previously hidden group nodes and adjacent edges
visitDecendants | () | method |
public function visitDecendants(groupNode:Node, visitor:GroupingSupport_Visitor):void
Visits all descendants of the given group node.
Parameters
groupNode:Node | |
visitor:GroupingSupport_Visitor |