fix
This commit is contained in:
@@ -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_)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user