documentationfor yFiles for HTML 2.6

AsIsLayerer

AsIsLayerer assigns nodes to layers by analyzing already existing node coordinates.

Inheritance Hierarchy
AsIsLayerer
Implemented Interfaces

Remarks

Nodes whose bounding boxes overlap in the main layout direction are assigned to the same layer. To influence to which amount the boxes need to overlap, the nodes can temporarily be scaled. Alternatively, a minimum and maximum size or a halo can be specified for the nodes.

Initial graph

Hierarchic layout when the initial drawing is used as sketch

Hierarchic layout when the initial drawing is not used as sketch

Default Values of Properties

maximumNodeSizeNumber.MAX_VALUE
minimumNodeSize0.0
nodeHalo0.0d
nodeScalingFactor1.0

Type Details

yfiles module
layout-hierarchic
yfiles-umd modules
layout-familytree, layout-hierarchic, layout-radial, layout
Legacy UMD name
yfiles.hierarchic.AsIsLayerer

See Also

Constructors

Properties

Methods