refactor: remove placeholder join step

This commit is contained in:
lda
2026-09-05 17:47:57 +07:00 Verified
parent 043bda6a34
commit cccdbc0a47
42 changed files with 88 additions and 309 deletions
@@ -31,8 +31,6 @@ const nodeColor = (data: WorkflowGraphNodeData): string => {
return "#ef4444";
case "foreach":
return "#8b5cf6";
case "join":
return "#10b981";
case "end":
return "#6b7280";
default:
@@ -7,7 +7,6 @@ export type WorkflowGraphNodeKind =
| "condition"
| "interrupt"
| "foreach"
| "join"
| "end"
| "unsupported";
@@ -94,8 +93,6 @@ const mapNodeKind = (type: unknown): WorkflowGraphNodeKind => {
return "interrupt";
case "foreach":
return "foreach";
case "join":
return "join";
case "end":
return "end";
default:
@@ -119,7 +116,6 @@ const buildLabel = (
return typeof node.kind === "string" ? node.kind : "Interrupt";
}
if (type === "foreach") return "For Each";
if (type === "join") return "Join";
if (type === "subgraph") {
const workflowRef = typeof node.workflow === "string" ? node.workflow : undefined;
if (workflowRef) {