ConnectionContent
Defines the label displayed on the connection path.
| Name | Type | Default | Description |
|---|---|---|---|
background? |
|
The background color of the connection label. Accepts valid CSS colors. | |
border? |
|
|
The border options of the connection label. |
color? |
|
The color of the connection content text. | |
fontFamily? |
|
The font family of the connection content text. | |
fontSize? |
|
The font size of the connection content text. | |
fontStyle? |
|
The font style of the connection content text. | |
fontWeight? |
|
The font weight of the connection content text. | |
offset? |
|
|
Defines the distance (in pixels) between the label and the connection path. |
padding? |
|
|
The padding options of the connection label. Applicable when background or border is set. |
position? |
|
|
Defines the position of the label relative to the connection path. |
template? |
|
The template which renders the labels. | |
text? |
|
The static text displayed on the connection. | |
visual? |
|
A function returning a visual element to render for the content of a connection. |