documentationfor yFiles for HTML 2.6

Method Return Values

create (function(ILabel, ILabelModel):IEnumerable<ILabelModelParameter>)in ILabelModelParameterProviderCreates an implementation of the interface ILabelModelParameterProvider by using the given function as implementation for its getParameters method.

Implementing Types

CompositeLabelModelAn implementation of ILabelModel that can be used to create custom label models out of existing ILabelModel instances.
DescriptorWrapperLabelModelA label model that wraps an existing label model and decorates it with a descriptor.
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.
ExteriorLabelModelA label model for node labels that lie outside of the node's layout bounds.
GenericLabelModelAn implementation of ILabelModel that can be used to create custom label models out of existing ILabelModelParameter instances.
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 which is closest to the port position.
InteriorLabelModelA label model for node labels that lie inside of the node's layout bounds.
InteriorStretchLabelModelA label model for node labels that lie inside of the node's layout bounds and have been stretched to fit the node's size.
NinePositionsEdgeLabelModelAn edge label model that places labels at positions near the source port, target port, or the center of the edge.
SandwichLabelModelA node label model that places the label either above or below the node.
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.