Node entity, WorkflowNodeEntity is the alias for the node used for free layout nodes, the node entity uses the ECS architecture, is Entity
string Node idstring | number Node typenumber Node version, can be used to determine if the node state has been updatedFlowDocument | WorkflowDocument Document linkRectangle 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 nodesGet the node's extended information, can be updated through updateExtInfo
Update extended data, update will not be recorded in redo/undo, if you need to record, please implement the history service
Get the node registry, equivalent to ctx.document.getNodeRegistry(node.flowNodeType)
Equivalent to getting the Component of Entity in the ECS architecture, currently built-in two core Components
Equivalent to adding the Component of Entity in the ECS architecture
Node access IOC service
Node destruction from canvas
Node destruction event
Export node data
string Node unique identifier, must be uniqueobject Node ui configuration information, such as position information for free layoutstring | number Node type, will correspond to type in nodeRegistriesobject Node form data, business can customizearray Node branches, using block is closer to Gramming