Policy to determines at which visual layer node, edge or port labels shall be inserted by the GraphModelManager.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.view.LabelLayerPolicy
Constants
The labels will be visualized directly on top of their owner.
Remarks
If the owner changes its layer or z-order the labels are changing with it.
See Also
All labels will be visualized in one of three separate label layers.
Remarks
Node labels are placed in nodeLabelGroup, edge labels in edgeLabelGroup and port labels in portLabelGroup.
See Also
Static Methods
Converts the argument to LabelLayerPolicy.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - LabelLayerPolicy
- The value to convert to LabelLayerPolicy.
Returns
- ↪LabelLayerPolicy
- Either
value
if it is already a LabelLayerPolicy or an appropriate converted value.