Search results

NodeBaseModel API in JavaScript Diagram API control

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

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