A node label model that allows placement of labels at eight positions around a node and at nine positions inside the node.

Namespace: yWorks.yFiles.Layout
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public class DiscreteNodeLabelLayoutModel : INodeLabelModel
Visual Basic
Public Class DiscreteNodeLabelLayoutModel _ Implements INodeLabelModel

Remarks

A node label model that allows placement of labels at eight positions around a node and at nine positions inside the node.

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 by OR-ing allowed node label candidates to a user defined mask.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout..::..DiscreteNodeLabelLayoutModel

See Also