SymbolDescription API in JavaScript Diagram API control
Defines the textual description of a symbol
Properties
overflow
string
Defines how to handle the text when its size exceeds the given symbol size
- Wrap - Wraps the text to next line, when it exceeds its bounds
- Ellipsis - It truncates the overflown text and represents the clipping with an ellipsis
- Clip - It clips the overflow text
text
string
Defines the symbol description
wrap
string
Defines how to wrap the text
- WrapWithOverflow - Wraps the text so that no word is broken
- Wrap - Wraps the text and breaks the word, if necessary
- NoWrap - Text will no be wrapped