SimpleNode
Interface representing the most basic node in the diagram
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”T
extends DataObject
= DataObject
Properties
Section titled “Properties”angle?
Section titled “angle?”
optional
angle:number
The angle of the node from 0 to 360.
autoSize?
Section titled “autoSize?”
optional
autoSize:boolean
Whether the size of the node is automatically resized based on the content.
computedZIndex?
Section titled “computedZIndex?”
readonly
optional
computedZIndex:number
Remarks
Section titled “Remarks”ComputedZIndex is computed by the system and should not be set manually. The z-index of the node. This value is set automatically
data:
T
The data associated with the node.
groupId?
Section titled “groupId?”
optional
groupId:string
The id of the parent node.
id:
string
The unique identifier for the node.
measuredPorts?
Section titled “measuredPorts?”
readonly
optional
measuredPorts:Port
[]
Remarks
Section titled “Remarks”MeasuredPorts are computed by the system and should not be set manually. The ports of the node with computed position and size.
position
Section titled “position”position:
Point
The position of the node in the diagram.
resizable?
Section titled “resizable?”
optional
resizable:boolean
Whether the node is resizable.
rotatable?
Section titled “rotatable?”
optional
rotatable:boolean
Whether the node is rotatable.
selected?
Section titled “selected?”
optional
selected:boolean
Whether the node is selected.
optional
size:Size
The size of the node.
optional
type:string
The type of the node declared in nodeTemplateMap.
zOrder?
Section titled “zOrder?”
optional
zOrder:number
The z-order of the node.