chore: replace all cn comments to en version by volc api (#313)

This commit is contained in:
tecvan
2025-07-31 15:18:11 +08:00
committed by GitHub
parent 91d6cdb430
commit 5abc63fba6
254 changed files with 5899 additions and 5844 deletions

View File

@@ -527,7 +527,7 @@ func validateConnections(ctx context.Context, c *vo.Canvas) (issues []*Issue, er
outDegree[edge.SourceNodeID]++
}
portOutDegree := make(map[string]map[string]int) // 节点ID -> 端口 -> 出度
portOutDegree := make(map[string]map[string]int) // Node ID - > Port - > Outgoing
for _, edge := range c.Edges {
if _, ok := selectorPorts[edge.SourceNodeID]; !ok {
@@ -573,7 +573,7 @@ func validateConnections(ctx context.Context, c *vo.Canvas) (issues []*Issue, er
issues = append(issues, selectorIssues)
}
} else {
// break, continue 不检查出度
// Break, continue without checking out degrees
if node.Type == vo.BlockTypeBotBreak || node.Type == vo.BlockTypeBotContinue {
continue
}