Content
configurationDefines the options for the label displayed on the connection path.
content
Objectcontent.color
StringThe color of the connection content text.
content.fontFamily
StringThe font family of the connection content text.
content.fontSize
NumberThe font size of the connection content text.
content.fontStyle
StringThe font style of the connection content text.
content.fontWeight
StringThe font weight of the connection content text.
content.template
String|FunctionThe template which renders the labels.
The fields which can be used in the template are:
- dataItem - the data item, in case a field has been specified
content.text
StringThe static text displayed on the connection.
content.visual
FunctionA function returning a visual element to render for the content of a connection.