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?”
optionalangle:number
The angle of the node from 0 to 360.
autoSize?
Section titled “autoSize?”
optionalautoSize:boolean
Whether the size of the node is automatically resized based on the content.
computedZIndex?
Section titled “computedZIndex?”
readonlyoptionalcomputedZIndex: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?”
optionalgroupId:string
The id of the parent node.
id:
string
The unique identifier for the node.
measuredBounds?
Section titled “measuredBounds?”
readonlyoptionalmeasuredBounds:Rect
Remarks
Section titled “Remarks”MeasuredBounds are computed by the system and should not be set manually. Bounding box that encompasses the node including its ports, accounting for rotation.
measuredPorts?
Section titled “measuredPorts?”
readonlyoptionalmeasuredPorts: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?”
optionalresizable:boolean
Whether the node is resizable.
rotatable?
Section titled “rotatable?”
optionalrotatable:boolean
Whether the node is rotatable.
selected?
Section titled “selected?”
optionalselected:boolean
Whether the node is selected.
optionalsize:Size
The size of the node.
optionaltype:string
The type of the node declared in nodeTemplateMap.
zOrder?
Section titled “zOrder?”
optionalzOrder:number
The z-order of the node.