Package | com.yworks.yfiles.layout.organic |
Class | public class RemoveOverlapsLayoutStage |
Inheritance | RemoveOverlapsLayoutStage YObject Object |
Implements | LayoutStage |
Property | Defined By | ||
---|---|---|---|
coreLayouter : Layouter
Specifies the core layouter. | RemoveOverlapsLayoutStage | ||
hInternal : Vector.<Number> [read-only] | RemoveOverlapsLayoutStage | ||
wInternal : Vector.<Number> [read-only] | RemoveOverlapsLayoutStage | ||
xInternal : Vector.<Number> [read-only] | RemoveOverlapsLayoutStage | ||
yInternal : Vector.<Number> [read-only] | RemoveOverlapsLayoutStage |
Property | Defined By | ||
---|---|---|---|
graph : LayoutGraph
the graph
| RemoveOverlapsLayoutStage | ||
h : Vector.<Number>
heights based on node-indices
| RemoveOverlapsLayoutStage | ||
nodes : Vector.<Object>
the node array
| RemoveOverlapsLayoutStage | ||
random : YRandom
the source of randomness
| RemoveOverlapsLayoutStage | ||
w : Vector.<Number>
widths based on node-indices
| RemoveOverlapsLayoutStage | ||
x : Vector.<Number>
x coordinates based on node-indices
| RemoveOverlapsLayoutStage | ||
y : Vector.<Number>
y coordinates based on node-indices
| RemoveOverlapsLayoutStage |
Method | Defined By | ||
---|---|---|---|
RemoveOverlapsLayoutStage(minDist:Number, init:Boolean = true)
Creates a new instance of RemoveOverlapsLayoutStage
| RemoveOverlapsLayoutStage | ||
canLayout(graph:LayoutGraph):Boolean | RemoveOverlapsLayoutStage | ||
doLayout(graph:LayoutGraph):void
Assigns a new graph layout to the given layout graph. | RemoveOverlapsLayoutStage | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | RemoveOverlapsLayoutStage | ||
hashCode():int | YObject | ||
newRemoveOverlapsLayoutStage1(minDist:Number):RemoveOverlapsLayoutStage [static]
Creates a new instance of RemoveOverlapsLayoutStage
| RemoveOverlapsLayoutStage | ||
[static]
Creates a new instance of RemoveOverlapsLayoutStage
| RemoveOverlapsLayoutStage |
Method | Defined By | ||
---|---|---|---|
initRemoveOverlapsLayoutStage1(minDist:Number):void
Initializes this object. | RemoveOverlapsLayoutStage | ||
initRemoveOverlapsLayoutStage2(random:YRandom, minDist:Number):void
Initializes this object. | RemoveOverlapsLayoutStage | ||
updatePos():void
updates arrays x and y according to the current centers of the nodes
| RemoveOverlapsLayoutStage |
coreLayouter | property |
coreLayouter:Layouter
Specifies the core layouter.
public function get coreLayouter():Layouter
public function set coreLayouter(value:Layouter):void
graph | property |
protected var graph:LayoutGraph
the graph
h | property |
protected var h:Vector.<Number>
heights based on node-indices
hInternal | property |
hInternal:Vector.<Number>
[read-only] public function get hInternal():Vector.<Number>
nodes | property |
protected var nodes:Vector.<Object>
the node array
random | property |
protected var random:YRandom
the source of randomness
w | property |
protected var w:Vector.<Number>
widths based on node-indices
wInternal | property |
wInternal:Vector.<Number>
[read-only] public function get wInternal():Vector.<Number>
x | property |
protected var x:Vector.<Number>
x coordinates based on node-indices
xInternal | property |
xInternal:Vector.<Number>
[read-only] public function get xInternal():Vector.<Number>
y | property |
protected var y:Vector.<Number>
y coordinates based on node-indices
yInternal | property |
yInternal:Vector.<Number>
[read-only] public function get yInternal():Vector.<Number>
RemoveOverlapsLayoutStage | () | Constructor |
public function RemoveOverlapsLayoutStage(minDist:Number, init:Boolean = true)
Creates a new instance of RemoveOverlapsLayoutStage
ParametersminDist:Number | |
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 |
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 |
initRemoveOverlapsLayoutStage1 | () | method |
protected final function initRemoveOverlapsLayoutStage1(minDist:Number):void
Initializes this object. See the documentation of the corresponding factory method newRemoveOverlapsLayoutStage1()
for details.
Parameters
minDist:Number |
See also
initRemoveOverlapsLayoutStage2 | () | method |
protected final function initRemoveOverlapsLayoutStage2(random:YRandom, minDist:Number):void
Initializes this object. See the documentation of the corresponding factory method newRemoveOverlapsLayoutStage2()
for details.
Parameters
random:YRandom | |
minDist:Number |
See also
newRemoveOverlapsLayoutStage1 | () | method |
public static function newRemoveOverlapsLayoutStage1(minDist:Number):RemoveOverlapsLayoutStage
Creates a new instance of RemoveOverlapsLayoutStage
Parameters
minDist:Number |
RemoveOverlapsLayoutStage |
newRemoveOverlapsLayoutStage2 | () | method |
public static function newRemoveOverlapsLayoutStage2(random:YRandom, minDist:Number):RemoveOverlapsLayoutStage
Creates a new instance of RemoveOverlapsLayoutStage
Parameters
random:YRandom | |
minDist:Number |
RemoveOverlapsLayoutStage |
updatePos | () | method |
protected function updatePos():void
updates arrays x and y according to the current centers of the nodes