SymbolInfo

23 Sep 20251 minute to read

Defines the size and description of a symbol

Properties

description SymbolDescription

Define the text to be displayed and how that is to be handled.

fit boolean

Defines whether the symbol has to be fit inside the size, that is defined by the symbol palette

height number

Defines the height of the symbol to be drawn over the palette

showTooltip boolean

Specifies whether the default tooltip displaying the symbol’s ID should be shown for this element in the Symbol Palette.
When set to true, the tooltip will display the value of the id property. If set to false, the tooltip will be hidden.
This property is effective only when tooltip constraints are disabled for the symbol palette element.

template DiagramElement

Define the template of the symbol that is to be drawn over the palette

tooltip string

Define the text to be displayed when mouse hover on the shape.

width number

Defines the width of the symbol to be drawn over the palette