fix: compact graph for interrupt demo beats

This commit is contained in:
lda
2026-07-09 03:56:29 +07:00 Verified
parent 6300d682ee
commit a0b5105b7c
2 changed files with 23 additions and 2 deletions
@@ -62,6 +62,8 @@ export const DemoWorkflowScene = ({
// Presentation-only proof labels keep the graph tied to the recorded run
// without changing the canonical replay event payload.
const graphVariant = beat.id === "interrupt" || beat.id === "approval" ? "compact" : "full";
const runProof = {
runId: runStart?.resultingIds.runId ?? null,
traceLabel: "5 workflow nodes",
@@ -113,6 +115,7 @@ export const DemoWorkflowScene = ({
selectedNodeId={selectedNodeId}
selectNode={selectNode}
proof={runProof}
variant={graphVariant}
/>
{contractMode && contract && (
<InterruptContractPreview