documentationfor yFiles for HTML 2.6

DiscreteNodeLabelLayoutModel

DiscreteNodeLabelLayoutModel allows placing labels at eight positions around a node and at nine positions inside the node.

Inheritance Hierarchy
DiscreteNodeLabelLayoutModel
Implemented Interfaces

Remarks

The predefined positions in this model

It's possible to specify an insets value that controls the distance between label and node.

Furthermore, there's the possibility to mask out arbitrary node label candidates. This can either be done by specifying predefined candidate masks or a combination of valid positions of this model using a logical or-operation.

Default Values of Properties

candidateMaskINTERNAL_MASK
distance4

Type Details

yfiles module
layout-core
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.layout.DiscreteNodeLabelLayoutModel

See Also

Constructors

Properties

Methods