| Package | com.yworks.yfiles.layout |
| Class | public class SubgraphLayouter |
| Inheritance | SubgraphLayouter AbstractLayoutStage YObject Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | coreLayouter : Layouter
Specifies the core layouter. | AbstractLayoutStage | |
| subgraphNodesDpKey : Object
Specifies the DataProvider key which determines the nodes that induce the subgraph to be laid out. | SubgraphLayouter | ||
| Method | Defined By | ||
|---|---|---|---|
SubgraphLayouter(init:Boolean = true) | SubgraphLayouter | ||
canLayout(graph:LayoutGraph):Boolean [override] | SubgraphLayouter | ||
doLayout(graph:LayoutGraph):void [override] | SubgraphLayouter | ||
![]() | equals(o:Object):Boolean | YObject | |
getClass():Class [override] | SubgraphLayouter | ||
![]() | hashCode():int | YObject | |
[static] | SubgraphLayouter | ||
[static] | SubgraphLayouter | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | 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 | |
![]() | initAbstractLayoutStage1():void | AbstractLayoutStage | |
![]() | initAbstractLayoutStage2(core:Layouter):void | AbstractLayoutStage | |
initSubgraphLayouter1():void
Initializes this object. | SubgraphLayouter | ||
initSubgraphLayouter2(coreLayouter:Layouter):void
Initializes this object. | SubgraphLayouter | ||
| subgraphNodesDpKey | property |
subgraphNodesDpKey:Object
Specifies the DataProvider key which determines the nodes that induce the subgraph to be laid out.
By default, com.yworks.yfiles.layout.LayouterKeys.SELECTED_NODES is used.
public function get subgraphNodesDpKey():Object public function set subgraphNodesDpKey(value:Object):voidIllegalArgumentException — if the specified key is null.
|
See also
| SubgraphLayouter | () | Constructor |
public function SubgraphLayouter(init:Boolean = true)Parameters
init: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):BooleanParameters
graph:LayoutGraph |
Boolean |
| doLayout | () | method |
| getClass | () | method |
override public function getClass():ClassReturnsClass |
| initSubgraphLayouter1 | () | method |
protected final function initSubgraphLayouter1():void
Initializes this object. See the documentation of the corresponding factory method newSubgraphLayouter1() for details.
See also
| initSubgraphLayouter2 | () | method |
protected final function initSubgraphLayouter2(coreLayouter:Layouter):void
Initializes this object. See the documentation of the corresponding factory method newSubgraphLayouter2() for details.
Parameters
coreLayouter:Layouter |
See also
| newSubgraphLayouter1 | () | method |
| newSubgraphLayouter2 | () | method |
public static function newSubgraphLayouter2(coreLayouter:Layouter):SubgraphLayouterParameters
coreLayouter:Layouter |
SubgraphLayouter |