Package | com.yworks.yfiles.layout.organic |
Class | public class OrganicRemoveOverlapsStage |
Inheritance | OrganicRemoveOverlapsStage AbstractLayoutStage YObject Object |
See also
Property | Defined By | ||
---|---|---|---|
coreLayouter : Layouter
Specifies the core layouter. | AbstractLayoutStage | ||
maximumDuration : LongImpl
Getter:
Returns the time limit (in milliseconds) set for the layout stage (not including the time required by the core layouter). | OrganicRemoveOverlapsStage | ||
minimalNodeDistance : Number
Specifies the current minimal node distance this layout stage should enforce. | OrganicRemoveOverlapsStage |
Method | Defined By | ||
---|---|---|---|
OrganicRemoveOverlapsStage(init:Boolean = true)
Creates a new instance of OrganicRemoveOverlapsStage
| OrganicRemoveOverlapsStage | ||
canLayout(graph:LayoutGraph):Boolean [override] | OrganicRemoveOverlapsStage | ||
doLayout(graph:LayoutGraph):void [override] | OrganicRemoveOverlapsStage | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | OrganicRemoveOverlapsStage | ||
hashCode():int | YObject | ||
[static]
Creates a new instance of OrganicRemoveOverlapsStage
| OrganicRemoveOverlapsStage | ||
[static]
Creates a new instance of OrganicRemoveOverlapsStage
| OrganicRemoveOverlapsStage |
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 | ||
Initializes this object. | OrganicRemoveOverlapsStage | ||
initOrganicRemoveOverlapsStage2(core:Layouter):void
Initializes this object. | OrganicRemoveOverlapsStage |
Constant | Defined By | ||
---|---|---|---|
FIXED_NODE_DPKEY : Object = y.layout.organic.OrganicRemoveOverlapsStage.FIXED_NODE_DPKEY [static]
This key can be used to specify a boolean value that can be used to mark fixed nodes. | OrganicRemoveOverlapsStage |
maximumDuration | property |
maximumDuration:LongImpl
Getter: Returns the time limit (in milliseconds) set for the layout stage (not including the time required by the core layouter).
Setter: Sets a preferred time limit (>= 0 and in milliseconds) for the layout stage (not including the time required by the core layouter).Note that restricting the maximum duration may result in a worse layout quality, i.e., there could be still some node overlaps. Furthermore, the actual runtime may exceed the maximum duration since the layout algorithm still has to find a valid solution.
public function get maximumDuration():LongImpl
public function set maximumDuration(value:LongImpl):void
minimalNodeDistance | property |
minimalNodeDistance:Number
Specifies the current minimal node distance this layout stage should enforce.
The default value is 10
.
public function get minimalNodeDistance():Number
public function set minimalNodeDistance(value:Number):void
OrganicRemoveOverlapsStage | () | Constructor |
public function OrganicRemoveOverlapsStage(init:Boolean = true)
Creates a new instance of OrganicRemoveOverlapsStage
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
Parameters
graph:LayoutGraph |
Boolean |
doLayout | () | method |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initOrganicRemoveOverlapsStage1 | () | method |
protected final function initOrganicRemoveOverlapsStage1():void
Initializes this object. See the documentation of the corresponding factory method newOrganicRemoveOverlapsStage1()
for details.
See also
initOrganicRemoveOverlapsStage2 | () | method |
protected final function initOrganicRemoveOverlapsStage2(core:Layouter):void
Initializes this object. See the documentation of the corresponding factory method newOrganicRemoveOverlapsStage2()
for details.
Parameters
core:Layouter |
See also
newOrganicRemoveOverlapsStage1 | () | method |
public static function newOrganicRemoveOverlapsStage1():OrganicRemoveOverlapsStage
Creates a new instance of OrganicRemoveOverlapsStage
ReturnsOrganicRemoveOverlapsStage |
newOrganicRemoveOverlapsStage2 | () | method |
public static function newOrganicRemoveOverlapsStage2(core:Layouter):OrganicRemoveOverlapsStage
Creates a new instance of OrganicRemoveOverlapsStage
Parameters
core:Layouter |
OrganicRemoveOverlapsStage |
FIXED_NODE_DPKEY | Constant |
public static const FIXED_NODE_DPKEY:Object = y.layout.organic.OrganicRemoveOverlapsStage.FIXED_NODE_DPKEY
This key can be used to specify a boolean value that can be used to mark fixed nodes.