Search
NodeLabel Class
Remarks See Also
 






Represents a supplementary label displayed by a DiagramNode. New labels can be added to a node by calling its addLabel method.

Namespace: MindFusion.Diagramming
File: NodeLabel.js

 Syntax

JavaScript  Copy Code

// class
NodeLabel.prototype = {}

 Remarks

The position of a label is determined by where it is pinned relative to node's bounding box, and offset from the pin point, as set using setCornerPosition, setEdgePosition and setCenterPosition methods. In addition, the horizontalAlign and verticalAlign properties specify whether the label is centered on its pin point or aligned to it.

You can let users arrange labels manually by setting the behavior property of DiagramView to MoveLabels.

 Inheritance Hierarchy

MindFusion.Diagramming.ItemLabel
    MindFusion.Diagramming.NodeLabel

 See Also