documentationfor yFiles for HTML 2.6

DiscreteEdgeLabelLayoutModel

DiscreteEdgeLabelLayoutModel describes the placement of rotated labels at some predefined positions along the edge.

Inheritance Hierarchy
DiscreteEdgeLabelLayoutModel
Implemented Interfaces

Remarks

The predefined positions in this model

It's possible to specify a distance value that controls the distance between label and edge.

Furthermore, there's the possibility to mask out arbitrary edge label candidates. This can either be done by specifying predefined candidate masks or combining several label positions with a logical or-operation to a user-defined mask.

Default Values of Properties

angle0
autoFlippingfalseEdge labels keep their orientation.
autoRotationtrueLabels are rotated with their edge segment.
candidateMaskSIX_POS
distance2
positionRelativeToSegmentfalsePositions are interpreted geometrically.

Type Details

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

See Also

Constructors

Properties

Methods

Static Methods