Nodes are defined through FlowNodeEntity
string
Node idstring
| number
Node typeRectangle
Get the node's x, y, width, height, equivalent to transform.bounds
FlowNodeEntity[]
Get child nodes, including collapsed child nodes, equivalent to collapsedChildren
FlowNodeEntity[]
Get child nodes, including collapsed child nodesFlowNodeEntity[]
Get all child nodes, including all collapsed child nodesFlowNodeEntity[]
Get child nodes, not including collapsed child nodesFlowNodeEntity | undefined
Get the previous nodeFlowNodeEntity | undefined
Get the next nodeFlowNodeEntity | undefined
Get the parent nodeFlowNodeEntity | undefined
Get the original parent node, this is used to find the entire virtual branch for the first node of the fixed layout branch (orderIcon)FlowNodeEntity[]
Get all child nodes, not including collapsed child nodesnode.getService(HistoryService)
node.getExtInfo<{ test: string }>()
node.updateExtInfo<{ test: string }>({ test: 'test' })
Can be obtained through node.toJSON()
string
Node unique identifier, must be uniqueobject
Node UI configuration information, such as free layout position
information is stored herestring | number
Node type, corresponds to type
in nodeRegistries
object
Node form data, can be customized by businessarray
Node branches, using block
is closer to Gramming
Node declaration can be used to determine node type and rendering method
Get node-related methods through useNodeRender
Create through FlowOperationService
ExtInfo is used to store some UI states. If node engine is not enabled, node data will be stored in extInfo by default