This commit is contained in:
StyleZhang 2024-03-15 11:04:34 +08:00
parent 985c07b25b
commit 817aea9f05
1 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,10 @@ export const useWorkflow = () => {
list.push(node)
})
const incomers = getIncomers({ id: nodeId } as Node, nodes, edges)
list.push(...incomers)
return list.filter((item) => {
if (item.data.type === BlockEnum.IfElse)
return false