ConnectionContent
Defines the label displayed on the connection path.
Definition
Package:@progress/kendo-angular-diagrams
Properties
background?
string
The background color of the connection label. Accepts valid CSS colors.
color?
string
The color of the connection content text.
fontFamily?
string
The font family of the connection content text.
"sans-serif"
fontSize?
number
The font size in pixels of the connection content text.
15
fontStyle?
string
The font style of the connection content text.
fontWeight?
string
The font weight of the connection content text.
offset?
number
Defines the distance (in pixels) between the label and the connection path.
5
The padding options of the connection label. Applicable when background or border is set.
{ left: 4, right: 4, top: 2, bottom: 2 }
position?
"inline" | ConnectionLabelPosition
Defines the position of the label relative to the connection path.
{ vertical: 'top', horizontal: 'right' }
The template which renders the labels.
string
text?
string
The static text displayed on the connection.
A function returning a visual element to render for the content of a connection.
any