documentationfor yFiles for HTML 2.6

ILabelModel

Defines the geometry of ILabel instances with respect to specific ILabelModelParameters.

Remarks

In addition to defining the geometry of a label with respect to a specific ILabelModelParameter, a label model is typically the factory of the label model parameters that are compatible with it, too.

Typically, the label model defines a, possibly infinite, compilation of valid geometries for labels, and a specific label model parameter specifies an exact geometry for a label.

By design, the same instance of a label model can be shared by multiple label model parameters. Similarly, the same instance of a label model parameter can be shared by multiple labels.

This interface supports the lookup method that can be used to query additional aspects of the implementation.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.graph.ILabelModel

See Also

Methods