New to Kendo UI for AngularStart a free 30-day trial

Defines the rich text content of a connection label. Rich text content allows you to define multiple paragraphs with different styling and formatting, as well as include images and line breaks.

Definition

Package:@progress/kendo-angular-diagrams

Properties

The background color of the connection label. Accepts valid CSS colors.

Defines the rich text content of the connection label.

The border options of the connection label.

Default:

null

color?

string

The color of the connection content text.

The font family of the connection content text.

Default:

"sans-serif"

fontSize?

number

The font size in pixels of the connection content text.

Default:

15

Defines the top and bottom margin for the paragraphs in the connection label.

Default:

{ top: 0, bottom: 0 }

offset?

number

Defines the distance (in pixels) between the label and the connection path.

Default:

5

The padding options of the connection label. Applicable when background or border is set.

Default:

{ left: 4, right: 4, top: 2, bottom: 2 }

position?

"inline" | ConnectionLabelPosition

Defines the position of the label relative to the connection path.

Default:

{ vertical: 'top', horizontal: 'right' }

A function returning a visual element to render for the content of a connection.

Parameters:dataanyReturns:

any