DiagramConnectionContentSettingsTagHelper

Example

Razor
<content>
    <border />
    <content-template></content-template>
    <padding />
    <position />
</content>

ChildTags

Attributes

AttributeTypeDescription
backgroundStringThe background color of the connection label. Accepts valid CSS colors.
colorStringThe color of the connection content text.
font-familyStringThe font family of the connection content text.
font-sizeDoubleThe font size of the connection content text.
font-styleStringThe font style of the connection content text.
font-weightStringThe font weight of the connection content text.
offsetDoubleDefines the distance (in pixels) between the label and the connection path.
positionStringDefines 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.
templateStringRepresents a collection of templates defined for the component.
template-handlerStringThe template which renders the labels. This option expects the name of a JavaScript function that will be called to return the template.
template-idStringThe template which renders the labels. This option expects the ID of the script element that contains the template.
template-viewIHtmlContentThe template which renders the labels. This option expects the instance containing the created HTML.
textStringThe text displayed for the connection.
visualStringA function returning a visual element to render for the content of the connection.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support