Graph view (VS Code)
Visualize graph-mode workflow definitions as a DAG inside VS Code. Helps catch missing edges, orphan nodes, and join misconfiguration before runs hit the server.
Open graph view
- Save workflow as
something.arcflow.json(language idarcflow-workflow). - Ensure
execution_modeis"graph"withnodesandedgesarrays per the workflow specification. - Run command palette: ArcFlow: Visualize Graph (
arcflow.visualizeGraph). - Or click the graph icon in the editor title when the file matches
*.arcflow.json.
Example workflow fragment
ASCII preview (documentation diagram)
Graph view renders interactively in the extension webview. Logical layout resembles:
Nodes show agent names when resolvable from bundled agents array in the same file or workspace context.
Navigation tips
| Action | Result |
|---|---|
| Click node | Highlight definition in JSON source |
| Conditional edge | Label shows condition expression id |
to: null edge | Branch termination (supported by runtime) |
| Join node | Multiple inbound edges converge |
Graph recovery note (Graph recovery resume)
Graph execution is production-ready. Resume from checkpoint after failure is partial. Use graph view for authoring and testing happy path; plan linear recovery patterns for critical SLAs until Graph recovery resume closes.