Class CaptionInternal

Contains the connector's caption data, such as content and its position.

Hierarchy

  • Caption

Constructors

Properties

content: string

The text you want to display on the connector. Supports inline HTML tags.

position?: string

The relative position of the text on the connector, in percentage, minimum 0%, maximum 100%. With 50% value, the text will be placed in the middle of the connector line. Default: 50%

textAlignVertical?: string

The vertical position of the text on the connector. Default: middle