feat: Iteration node support parallel mode (#9493)
This commit is contained in:
parent
cca2e7876d
commit
d1505b15c4
33 changed files with 1283 additions and 192 deletions
|
|
@ -644,6 +644,11 @@ export const useNodesInteractions = () => {
|
|||
newNode.data.isInIteration = true
|
||||
newNode.data.iteration_id = prevNode.parentId
|
||||
newNode.zIndex = ITERATION_CHILDREN_Z_INDEX
|
||||
if (newNode.data.type === BlockEnum.Answer || newNode.data.type === BlockEnum.Tool || newNode.data.type === BlockEnum.Assigner) {
|
||||
const parentIterNodeIndex = nodes.findIndex(node => node.id === prevNode.parentId)
|
||||
const iterNodeData: IterationNodeType = nodes[parentIterNodeIndex].data
|
||||
iterNodeData._isShowTips = true
|
||||
}
|
||||
}
|
||||
|
||||
const newEdge: Edge = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue