Package | com.yworks.yfiles.layout.organic |
Class | public class SplitEdgeLayoutStage |
Inheritance | SplitEdgeLayoutStage YObject Object |
Implements | LayoutStage |
Property | Defined By | ||
---|---|---|---|
coreLayouter : Layouter
Specifies the core layouter. | SplitEdgeLayoutStage | ||
proxyNodeSize : Number
Specifies the size which is used as width/height for proxy nodes, i.e. | SplitEdgeLayoutStage | ||
splitEdgesDpKey : Object
Specifies the DataProvider key that determines which edges are to be split. | SplitEdgeLayoutStage | ||
splitNodesDpKey : Object
Specifies the DataProvider key to mark the nodes, that were created by splitting edges, for the core layouter. | SplitEdgeLayoutStage | ||
splitSegmentLength : Number
Specifies the split segment length. | SplitEdgeLayoutStage |
Method | Defined By | ||
---|---|---|---|
SplitEdgeLayoutStage(init:Boolean = true)
Creates a new instance of SplitEdgeLayouter
| SplitEdgeLayoutStage | ||
canLayout(graph:LayoutGraph):Boolean
Returns true
| SplitEdgeLayoutStage | ||
doLayout(graph:LayoutGraph):void
Assigns a new graph layout to the given layout graph
| SplitEdgeLayoutStage | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | SplitEdgeLayoutStage | ||
hashCode():int | YObject | ||
[static]
Creates a new instance of SplitEdgeLayouter
| SplitEdgeLayoutStage |
Method | Defined By | ||
---|---|---|---|
initSplitEdgeLayoutStage():void
Initializes this object. | SplitEdgeLayoutStage |
coreLayouter | property |
coreLayouter:Layouter
Specifies the core layouter.
public function get coreLayouter():Layouter
public function set coreLayouter(value:Layouter):void
proxyNodeSize | property |
proxyNodeSize:Number
Specifies the size which is used as width/height for proxy nodes, i.e. nodes inserted by this layout stage.
public function get proxyNodeSize():Number
public function set proxyNodeSize(value:Number):void
splitEdgesDpKey | property |
splitEdgesDpKey:Object
Specifies the DataProvider
key that determines which edges are to be split.
By default, com.yworks.yfiles.layout.LayouterKeys.SELECTED_EDGES is used.
If no DataProvider
is registered with this key, all edges will be split.
public function get splitEdgesDpKey():Object
public function set splitEdgesDpKey(value:Object):void
IllegalArgumentException — if the specified key is null .
|
See also
splitNodesDpKey | property |
splitNodesDpKey:Object
Specifies the DataProvider
key to mark the nodes, that were created by splitting edges, for the core layouter.
By default, com.yworks.yfiles.layout.LayouterKeys.SELECTED_NODES is used.
The layout algorithm ignores any previous information stored in this DataProvider
during the layout process but restores it after the core layouter has finished.
public function get splitNodesDpKey():Object
public function set splitNodesDpKey(value:Object):void
IllegalArgumentException — if the specified key is null .
|
See also
splitSegmentLength | property |
splitSegmentLength:Number
Specifies the split segment length. The split segment length determines the length of the path that will replace an original edge in the graph. The length of the original edge path divided by the given split segment length yields the number of nodes on the new node path.
public function get splitSegmentLength():Number
public function set splitSegmentLength(value:Number):void
SplitEdgeLayoutStage | () | Constructor |
public function SplitEdgeLayoutStage(init:Boolean = true)
Creates a new instance of SplitEdgeLayouter
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 |
public function canLayout(graph:LayoutGraph):Boolean
Returns true
Parameters
graph:LayoutGraph |
Boolean |
doLayout | () | method |
public function doLayout(graph:LayoutGraph):void
Assigns a new graph layout to the given layout graph
Parameters
graph:LayoutGraph |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initSplitEdgeLayoutStage | () | method |
protected final function initSplitEdgeLayoutStage():void
Initializes this object. See the documentation of the corresponding factory method newSplitEdgeLayoutStage()
for details.
See also
newSplitEdgeLayoutStage | () | method |
public static function newSplitEdgeLayoutStage():SplitEdgeLayoutStage
Creates a new instance of SplitEdgeLayouter
ReturnsSplitEdgeLayoutStage |