documentationfor yFiles for HTML 2.6

ILabelLayoutFactory

ILabelLayoutFactory provides methods to create, add and remove node/edge labels for LayoutGraphs.

Inheritance Hierarchy
ILabelLayoutFactory

Remarks

It can be used, e.g., to temporarily add labels during layout calculation.

Note that original labels which are removed during a layout calculation have to be re-added when the layout calculation is done.

An instance of this factory can be obtained with method getLabelFactory. This method uses the createLabelFactory method to create the factory.

Note that each factory instance is bound to a specific graph instance, i.e., you can only create, add and remove labels for the graph which was given to method getLabelFactory.

Type Details

yfiles module
layout-core
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.layout.ILabelLayoutFactory

See Also

Properties

Methods