Nodes are defined through FlowNodeEntity
string Node idstring | number Node typeRectangle Get the node's x, y, width, height, equivalent to transform.boundsFlowNodeEntity[] Get child nodes, including collapsed child nodes, equivalent to collapsedChildrenFlowNodeEntity[] 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 nodeRegistriesobject Node form data, can be customized by businessarray Node branches, using block is closer to GrammingNode 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