Represents a label displayed by a DiagramItem.
Namespace: MindFusion.Diagramming
File: ItemLabel.js
JavaScript
![]() |
---|
// class |
This class represents supplementary labels displayed by an item, in addition to its main text property. Call the addLabel method to create a label, and customize it through various members of type-specific LinkLabel and NodeLabel classes.
A label can also display an image assigned to the image or imageLocation property. This lets you draw multiple icons per node, or along a link's geometry.
MindFusion.Diagramming.ItemLabel
MindFusion.Diagramming.LinkLabel
MindFusion.Diagramming.NodeLabel
JavaScript Pack Programmer's Guide | © 2025 MindFusion |