Search
DiagramLink.text Property
See Also
 





Gets or sets the text displayed by this link.

Namespace: MindFusion.Diagramming
File: DiagramLink.js

 Syntax

JavaScript  Copy Code

get text() {}
set text(value) {}

 Property Value

String

A string containing the link's text. The default value is empty string "".

 Remarks

Gets or sets the text that should be drawn over a link. Use this to provide to end-users a short description of the relation's purpose. The text appearance can be customized through the textColor and textStyle properties.

Version 1.6 of the control adds the capability to display multiple labels per link via the LinkLabel class. Labels can automatically avoid overlapping nodes or other labels when their autoArrange property is set.

 See Also