documentationfor yFiles for HTML 2.6

LabelCreator<TDataItem>

This class can be used to create and update ILabels based on data items.

Inheritance Hierarchy
LabelCreator

Remarks

These data items can be any business or arbitrary data which should be represented by labels.

LabelCreator<TDataItem> allows to conveniently bind properties of the data item to the properties of the created ILabel to control aspects like layout and styling.

In the context of the GraphBuilder, it is responsible to create the labels from the associated NodesSource<TDataItem>s and EdgesSource<TDataItem>s.

Type Parameters

TDataItem
The type of the data items in the source.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.binding.LabelCreator

See Also

Constructors

Properties

Methods

Events