This commit is contained in:
X1627315083@163.com
2026-03-05 10:27:41 +08:00
parent a9b07b24ca
commit 5ec768f4ed
4 changed files with 40 additions and 13 deletions

View File

@@ -42,6 +42,7 @@ export class NodeManager {
})
const data = options?.data || {}
data['component'] = options.component
data['scale'] = options?.data?.scale || {x:1,y:1}
const options_ = {
id,
position,
@@ -114,7 +115,7 @@ export class NodeManager {
y: node.position.y + (flowNode?.dimensions?.height || 0) + 50,
}
}
delete node_.data?.superiorID
this.stateManager.addNode(node_)
// return this.createNode(options_)
}
}