Package | com.yworks.yfiles.layout.hierarchic |
Class | public class AsIsLayerer |
Inheritance | AsIsLayerer YObject Object |
Implements | OldLayerer, Layerer |
Property | Defined By | ||
---|---|---|---|
maximumNodeSize : Number
Specifies the maximum size of a node that is used to calculate layer overlaps. | AsIsLayerer | ||
minimumNodeSize : Number
Specifies the minimum size of a node that is used to calculate layer overlaps. | AsIsLayerer | ||
nodeHalo : Number
Getter:
Gets the size of the halo around a node or the insets respectively that are used to calculate layer overlaps. | AsIsLayerer | ||
nodeScalingFactor : Number
Specifies the scaling factor that is used to scale the nodes' height. | AsIsLayerer |
Method | Defined By | ||
---|---|---|---|
AsIsLayerer(init:Boolean = true) | AsIsLayerer | ||
AsIsLayerer | |||
AsIsLayerer | |||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | AsIsLayerer | ||
hashCode():int | YObject | ||
[static] | AsIsLayerer |
Method | Defined By | ||
---|---|---|---|
Callback used to calculate the lower (max) value of a node. | AsIsLayerer | ||
Callback used to calculate the upper (min) value of a node. | AsIsLayerer | ||
initAsIsLayerer():void | AsIsLayerer |
maximumNodeSize | property |
maximumNodeSize:Number
Specifies the maximum size of a node that is used to calculate layer overlaps.
This can be used for more fuzzy layering. The default is Double.MAX_VALUE
which results in no restriction being set.
public function get maximumNodeSize():Number
public function set maximumNodeSize(value:Number):void
IllegalArgumentException — if the specified value is less than 0 .
|
See also
minimumNodeSize | property |
minimumNodeSize:Number
Specifies the minimum size of a node that is used to calculate layer overlaps.
This can be used for more fuzzy layering. The default is 0.0d
which results in no restriction being set.
public function get minimumNodeSize():Number
public function set minimumNodeSize(value:Number):void
IllegalArgumentException — if the specified value is less than 0 .
|
See also
nodeHalo | property |
nodeHalo:Number
Getter:
Gets the size of the halo around a node or the insets respectively that are used to calculate layer overlaps.
The default is 0.0d
which results in no modification
public function get nodeHalo():Number
public function set nodeHalo(value:Number):void
nodeScalingFactor | property |
nodeScalingFactor:Number
Specifies the scaling factor that is used to scale the nodes' height.
Nodes are being scaled from their center. This can be used for more fuzzy layering. The default is 1.0d
which results in no scaling.
public function get nodeScalingFactor():Number
public function set nodeScalingFactor(value:Number):void
IllegalArgumentException — if the specified value is less than 0 .
|
AsIsLayerer | () | Constructor |
public function AsIsLayerer(init:Boolean = true)
init:Boolean (default = true )
|
assignLayers | () | method |
public function assignLayers(graph:LayoutGraph, layers:Layers, ldp:LayoutDataProvider):void
Parameters
graph:LayoutGraph | |
layers:Layers | |
ldp:LayoutDataProvider |
assignNodeLayer | () | method |
public function assignNodeLayer(g:LayoutGraph, layerMap:NodeMap, reversedEdges:EdgeList):int
Parameters
g:LayoutGraph | |
layerMap:NodeMap | |
reversedEdges:EdgeList |
int |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
getMax | () | method |
protected function getMax(graph:LayoutGraph, node:Node):Number
Callback used to calculate the lower (max) value of a node.
Parameters
graph:LayoutGraph | |
node:Node |
Number |
getMin | () | method |
protected function getMin(graph:LayoutGraph, node:Node):Number
Callback used to calculate the upper (min) value of a node.
Parameters
graph:LayoutGraph | |
node:Node |
Number |
initAsIsLayerer | () | method |
protected final function initAsIsLayerer():void
newAsIsLayerer | () | method |