Optional ReadonlyfillThe label's background, such as "FFFFFF" to hide the line behind the text. Default is none
Optional ReadonlyheightHeight of the label's box in pixels. Default fits the text
Optional ReadonlylineThe label's outline. Default is none
Optional ReadonlypositionWhere the label goes along the route. "start" and "end" put it just clear of the shape at that end, such as
"Yes" and "No" beside a decision. A label that would sit on a shape moves along the route until it doesn't.
Default is "middle"
ReadonlytextThe text, or paragraphs for text with formatting
Optional ReadonlywidthWidth of the label's box in pixels. Default fits the text, from the widths of common fonts
Text on a connector, in a box centred on its route.
Public Api