-
Notifications
You must be signed in to change notification settings - Fork 35
Shared Methods
Phil Beauvoir edited this page Feb 23, 2024
·
2 revisions
Note
Attributes and methods described in this section are shared by more than one type of object
Applies to visual object, connection, and folder.
Get/set the label expression of a visual object, connection, or folder.
// Getters
var expression = object.getLabelExpression();
var expression = object.labelExpression;
var expression = object.attr("label-expression");
// Setters
object.setLabelExpression("${name}");
object.labelExpression = "${name}";
object.attr("label-expression", "${name}");
Applies to visual object, connection, and folder.
Returns the calculated value of a visual object, connection, or folder's label expression.
var value = object.labelValue;
If you value and use Archi please consider making a donation. Thanks!