documentationfor yFiles for HTML 3.0.0.3

Usages of ILabelModel

Properties

modelin ILabelModelParameterGets the model that can be used to determine the geometry of a label given this parameter and a label instance.

Method Parameters

addModel (ILabelModel, number?)in CompositeLabelModelAdds another ILabelModel to this model's collection of label models.
fromModel (ILabelModel)in EdgeLabelPreferredPlacementReturns an EdgeLabelPreferredPlacement which matches positions supported by the given labelModel.

Implementing Types

BezierEdgePathLabelModelAn edge label model that allows placement of labels along the edge path for bezier edges.
BezierEdgeSegmentLabelModelAn edge label model that allows placement of labels relative to an edge segment for bezier edges.
CompositeLabelModelAn implementation of ILabelModel that can be used to create custom label models out of existing ILabelModel and ILabelModelParameter instances.
EdgePathLabelModelAn edge label model that allows placement of labels along the edge path at a set of continuous positions at specified sides of the edge path.
EdgeSegmentLabelModelAn edge label model that allows placement of labels relative to an edge segment at a set of continuous positions at specified sides of the edge path.
ExteriorNodeLabelModelA label model for node labels that lie outside the node's layout bounds.
FreeEdgeLabelModelAn edge label model that can be used to describe any position and orientation of a label.
FreeLabelModelA label model that can be used to describe any position and orientation of a label.
FreeNodeLabelModelThis node label model can be used to specify any position and orientation of a label.
FreePortLabelModelThis port label model can be used to specify any position and orientation of a label.
GroupNodeLabelModelA label model for group node labels that are placed inside the tab or tab background area of a GroupNodeStyle instance.
InsideOutsidePortLabelModelA label model for labels at node ports which places the label either inside or outside of the owner node of the port, according to the node border that is closest to the port position.
InteriorNodeLabelModelA label model for node labels that lie inside the node's layout bounds.
NinePositionsEdgeLabelModelAn edge label model that places labels at positions near the source port, target port, or the center of the edge.
NodeLabelModelStripeLabelModelAdapterAllows parameters from ILabelModels for nodes to be used for IStripes in a ITable.
SmartEdgeLabelModelAn edge label model that allows placement at any position.
StretchNodeLabelModelA label model for node labels that lie inside the node's layout bounds and have been stretched to fit the node's size.
StretchStripeLabelModelA label model for stripe labels which supports the possible header positions of IRows and IColumns.
StripeLabelModelA label model for stripe labels which supports the possible header positions of IRows and IColumns.