fix: Adjust the distance between the loop body and loop nodes (#4095)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
shaohuzhang1 2025-09-23 19:50:24 +08:00 committed by GitHub
parent e46cb54e45
commit 070fb0fdbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,7 +135,7 @@ const mountLoopBodyNode = () => {
if (!nodeOutgoingNode.some((item: any) => item.type == loopBodyNode.type)) {
let workflow = { nodes: [loopStartNode], edges: [] }
let x = props.nodeModel.x
let y = props.nodeModel.y + 200
let y = props.nodeModel.y + 350
if (props.nodeModel.properties.node_data.loop_body) {
workflow = props.nodeModel.properties.node_data.loop_body
}