NodeBaseModel

23 Sep 20251 minute to read

Interface for a class NodeBase

Properties

addInfo Object

Allows the user to save custom information/data about a node/connector

excludeFromLayout boolean

Defines whether the node should be automatically positioned or not. Applicable, if layout option is enabled.

flip FlipDirection

Flip the element in Horizontal/Vertical directions

flipMode FlipMode

Allows you to flip only the node or along with port and label.
This functionality is applicable only for nodes.

id string

Represents the unique id of nodes/connectors

margin MarginModel

Defines the space to be left between the node and its immediate parent

symbolInfo SymbolPaletteInfoModel

Defines the symbol info of a connector

tooltip DiagramTooltipModel

defines the tooltip for the node

visible boolean

Sets the visibility of the node/connector

zIndex number

Defines the visual order of the node/connector in DOM