fix: add route-outcome node, disable React Flow focusable

This commit is contained in:
lda
2026-07-05 22:58:42 +07:00 Verified
parent e22e2a923d
commit c6348c1e3b
2 changed files with 11 additions and 1 deletions
@@ -222,6 +222,8 @@ const InteractiveFigureInner = ({
proOptions={{ hideAttribution: true }}
nodesDraggable={false}
nodesConnectable={false}
nodesFocusable={false}
edgesFocusable={false}
elementsSelectable={false}
panOnDrag={false}
zoomOnScroll={false}
@@ -202,6 +202,13 @@ export const architectureCatalog: FigureCatalogDefinition = defineFigureCatalog(
kind: "operation",
evidencePointer: "src/wf_core/runtime/ops/state.py",
},
{
id: "route-outcome",
label: "Route outcome",
summary: "Success or failure path",
kind: "operation",
evidencePointer: "src/wf_core/runtime/step.py",
},
{
id: "record-trace",
label: "Record trace",
@@ -214,7 +221,8 @@ export const architectureCatalog: FigureCatalogDefinition = defineFigureCatalog(
{ id: "e-resolve-invoke", from: "resolve-bindings", to: "invoke-handler", label: "feeds" },
{ id: "e-invoke-normalize", from: "invoke-handler", to: "normalize-result", label: "produces" },
{ id: "e-normalize-reducers", from: "normalize-result", to: "apply-reducers", label: "reduces" },
{ id: "e-reducers-trace", from: "apply-reducers", to: "record-trace", label: "records" },
{ id: "e-reducers-outcome", from: "apply-reducers", to: "route-outcome", label: "routes" },
{ id: "e-outcome-trace", from: "route-outcome", to: "record-trace", label: "records" },
],
},
],