Conversation
- STEP 节点注册表:branchAnchor(右下橙锚,拖出经分支 Modal 写 rules)+ ruleTargetCheck(分支只允许指向步骤节点)+ ruleModalHint(SpEL 求值语境)+ expandsRules/layoutUsesRules(分支边渲染与布局计入)+ validate(默认分支唯一/目标合法) - FlowDesigner:分支锚点交互(data-branch-handle-id → applyConnect via branch)+ 分支边自橙锚出发(startDy 错开主线)+ 连线抽屉表达式编辑(工作流 CONDITION 同享)+ 分支 Modal 语境提示按节点类型分派 - orchestration.ts:chainToFlow branches→rules 映射;flowToChain 移除 keepBranches 透传,镜像后端 ChainSpecs 约束导出(分支只指向步骤节点/不指自身/默认分支每步骤 至多一个/未连入主线步骤拦截) - IntegrationPage:chainBranches 透传状态移除;画布提示文案更新 浏览器级巡检(真实栈):双路求值(expr 命中 [s1,s2] / 默认兜底 [s1,s3])、 存量分支回显、抽屉编辑重发布生效、工作流画布回归全绿
Shzyhao
added a commit
that referenced
this pull request
Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
P3 编排后续增强第一项:画布分支可视化编辑(此前 branches 仅保存透传,编辑靠后端 spec)。
前端(后端零改动)
branchAnchor(右下橙锚,拖出经分支 Modal 写 rules)+ruleTargetCheck(分支只允许指向步骤节点)+ruleModalHint(SpEL 按序求值语境提示,留空=默认分支)+expandsRules/layoutUsesRules(分支边渲染/布局计入)+validate(默认分支唯一/目标合法)chainToFlowbranches→rules 映射(存量链零迁移回显);flowToChain移除 keepBranches 透传,镜像后端 ChainSpecs 约束导出(分支只指向步骤节点/不指自身/默认分支每步骤至多一个/未连入主线步骤拦截)验证
tsc -b && vite build全绿;后端无改动(branches 求值语义 v1.17.0 已交付并有集成测试)== 200命中跳转[s1,s2](s3 跳过)、抽屉改== 599默认兜底[s1,s3](s2 跳过),steps_json 断言;保存→回显→再编辑全链路;工作流画布回归(条件规则边/锚点/摘要/结构校验原样)文档