Package | com.yworks.yfiles.layout.grouping |
Class | public class IsolatedGroupComponentLayouter |
Inheritance | IsolatedGroupComponentLayouter ![]() ![]() ![]() ![]() |
See also
Method | Defined By | ||
---|---|---|---|
IsolatedGroupComponentLayouter(init:Boolean = true)
Create a new instance of IsolatedGroupComponentLayouter. | IsolatedGroupComponentLayouter | ||
canLayout(graph:LayoutGraph):Boolean [override]
Returns true, iff the coreLayouter returns true for all components of the graph. | IsolatedGroupComponentLayouter | ||
doLayout(graph:LayoutGraph):void [override] | IsolatedGroupComponentLayouter | ||
![]() | equals(o:Object):Boolean | YObject | |
getClass():Class [override] | IsolatedGroupComponentLayouter | ||
![]() | hashCode():int | YObject | |
![]() | [static]
Initializes a new ComponentLayouter instance. | ComponentLayouter | |
![]() | [static]
Initializes a new ComponentLayouter instance. | ComponentLayouter | |
[static]
Create a new instance of IsolatedGroupComponentLayouter. | IsolatedGroupComponentLayouter | ||
[static]
Create a new instance of IsolatedGroupComponentLayouter. | IsolatedGroupComponentLayouter | ||
![]() | setPreferredLayoutSize(width:Number, height:Number):void
Sets the preferred layout size for this layouter. | ComponentLayouter |
Method | Defined By | ||
---|---|---|---|
![]() | arrangeComponents(graph:LayoutGraph, nodes:Vector.<Object>, edges:Vector.<Object>, bbox:Vector.<Object>, boxes:Vector.<Object>):void
Produces a non-overlapping component graph layout. | ComponentLayouter | |
![]() | arrangeFields(graph:LayoutGraph, nodes:Vector.<Object>, edges:Vector.<Object>, bbox:Vector.<Object>, boxes:Vector.<Object>, circular:Boolean, fill:Boolean, fromSketch:Boolean):void | ComponentLayouter | |
![]() |
Calculates and returns the bounding box of a graph component including node halos. | ComponentLayouter | |
![]() | canLayoutCore(graph:LayoutGraph):Boolean
Queries the core layouter whether or not the given graph can be laid out. | AbstractLayoutStage | |
![]() | doLayoutCore(graph:LayoutGraph):void
Invokes the layout routine of the core layouter. | AbstractLayoutStage | |
![]() |
Determines which nodes will belong to the same graph component. | ComponentLayouter | |
Determines which nodes will belong to the same graph component. | IsolatedGroupComponentLayouter | ||
![]() | initAbstractLayoutStage1():void | AbstractLayoutStage | |
![]() | initAbstractLayoutStage2(core:Layouter):void | AbstractLayoutStage | |
![]() | initComponentLayouter1():void
Initializes this object. | ComponentLayouter | |
![]() | initComponentLayouter2(coreLayouter:Layouter):void
Initializes this object. | ComponentLayouter | |
Initializes this object. | IsolatedGroupComponentLayouter | ||
initIsolatedGroupComponentLayouter2(coreLayouter:Layouter):void
Initializes this object. | IsolatedGroupComponentLayouter | ||
![]() |
Sets the origin for a subgraph. | ComponentLayouter |
IsolatedGroupComponentLayouter | () | Constructor |
public function IsolatedGroupComponentLayouter(init:Boolean = true)
Create a new instance of IsolatedGroupComponentLayouter.
Parametersinit:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
canLayout | () | method |
override public function canLayout(graph:LayoutGraph):Boolean
Returns true, iff the coreLayouter returns true for all components of the graph.
Parameters
graph:LayoutGraph |
Boolean |
doLayout | () | method |
findIsolatedGraphComponents | () | method |
protected function findIsolatedGraphComponents(graph:LayoutGraph, compNumber:NodeMap):int
Determines which nodes will belong to the same graph component. Unlike com.yworks.yfiles.layout.ComponentLayouter this implementation identifies isolated subgraphs within a group also as separate components.
Parameters
graph:LayoutGraph | |
compNumber:NodeMap |
int |
See also
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initIsolatedGroupComponentLayouter1 | () | method |
protected final function initIsolatedGroupComponentLayouter1():void
Initializes this object. See the documentation of the corresponding factory method newIsolatedGroupComponentLayouter1()
for details.
See also
initIsolatedGroupComponentLayouter2 | () | method |
protected final function initIsolatedGroupComponentLayouter2(coreLayouter:Layouter):void
Initializes this object. See the documentation of the corresponding factory method newIsolatedGroupComponentLayouter2()
for details.
Parameters
coreLayouter:Layouter |
See also
newIsolatedGroupComponentLayouter1 | () | method |
public static function newIsolatedGroupComponentLayouter1():IsolatedGroupComponentLayouter
Create a new instance of IsolatedGroupComponentLayouter.
ReturnsIsolatedGroupComponentLayouter |
newIsolatedGroupComponentLayouter2 | () | method |
public static function newIsolatedGroupComponentLayouter2(coreLayouter:Layouter):IsolatedGroupComponentLayouter
Create a new instance of IsolatedGroupComponentLayouter.
Parameters
coreLayouter:Layouter — the core layouter being invoked for each component of the graph.
|
IsolatedGroupComponentLayouter |