Connections.content
configurationDefines the connection content settings.
connections.content
ObjectThe background color of the connection label. Accepts valid CSS colors.
The border options of the connection label. Applicable when background is set.
The color of the connection content text.
The font family of the connection content text.
The font size of the connection content text.
The font style of the connection content text.
The font weight of the connection content text.
Defines the distance (in pixels) between the label and the connection path.
Default: 5
connections.content.padding
Number|ObjectThe padding options of the connection label. Applicable when background or border is set.
Default: { left: 4, right: 4, top: 2, bottom: 2 }
connections.content.position
String|ObjectDefines the position of the label relative to the connection path. Can be set to "inline" to position the label along the connection path, or an object with vertical and horizontal properties.
Default: { vertical: "top", horizontal: "right" }
connections.content.template
String|FunctionThe template which renders the labels.
connections.content.text
StringThe text displayed for the connection.
connections.content.visual
FunctionA function returning a visual element to render for the content of the connection.