Search results

NodeBase

Defines the common behavior of nodes, connectors and groups

Properties

addInfo

Object

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

Defaults to undefined

collapseIcon

IconShapeModel

Defines the collapsed state of a node

Defaults to {}

excludeFromLayout

boolean

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

Defaults to false

expandIcon

IconShapeModel

Defines the expanded state of a node

Defaults to {}

flip

string

Flip the element in Horizontal/Vertical directions

Defaults to None

id

string

Represents the unique id of nodes/connectors

Defaults to

isExpanded

boolean

Defines whether the node is expanded or not

Defaults to true

margin

MarginModel

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

Defaults to {}

ports

PointPortModel[]

Defines the collection of connection points of nodes/connectors

Defaults to undefined

tooltip

DiagramTooltipModel

defines the tooltip for the node

Defaults to {}

visible

boolean

Sets the visibility of the node/connector

Defaults to true

zIndex

number

Defines the visual order of the node/connector in DOM

Defaults to -1