-
categories :Array.<string>
-
An array of category strings corresponding to this link. This allows highlighting and filtering of links.
By default, the label is used as the link category.
-
color :string
-
The link color.
-
end-connector-type :arrow|arrowConcave|arrowOpen|circle|none|rectangle|rectangleRounded
-
Specifies the type of end connector on the link. Can take the name of a built-in shape.
Supported Values:
Value |
arrow |
arrowConcave |
arrowOpen |
circle |
none |
rectangle |
rectangleRounded |
-
end-node :any
-
Specifies the end node id.
-
label :string
-
Text used for the link label.
- Default Value:
-
label-style :(CSSStyleDeclaration|null)
-
The CSS style object defining the style of the diagram link label. The default values come from the CSS classes and varies based on theme.
The following style properties are supported: backgroundColor, borderColor, borderWidth, borderRadius, color, cursor, fontFamily, fontSize, fontStyle, fontWeight, maxWidth, textDecoration.
-
selectable :auto|off
-
Specifies whether or not the link will be selectable.
Supported Values:
- Default Value:
-
short-desc :string
-
The text that displays in the link's tooltip.
- Default Value:
-
start-connector-type :arrow|arrowConcave|arrowOpen|circle|none|rectangle|rectangleRounded
-
Specifies the type of start connector on the link. Can take the name of a built-in shape.
Supported Values:
Value |
arrow |
arrowConcave |
arrowOpen |
circle |
none |
rectangle |
rectangleRounded |
-
start-node :any
-
Specifies the start node id.
-
svg-class-name :string
-
The CSS style class defining the style of the link.
- Default Value:
-
svg-style :CSSStyleDeclaration
-
The CSS style object defining the style of the link.
Only SVG CSS style properties are supported.
- Default Value:
-
width :number
-
The link width in pixels.