Skip to content

feat(graph): add cascade graph command rendering the pipeline as mermaid - #354

Merged
joshua-temple merged 1 commit into
mainfrom
feat/visualizer-graph-cli
Jun 25, 2026
Merged

joshua-temple merged 1 commit into
mainfrom
feat/visualizer-graph-cli

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Adds a read-only cascade graph command that loads the manifest, builds the generated job dependency graph, and emits Mermaid to stdout so it can be piped to a file or pasted into a README.

Flags: --granularity (jobs today; env and stages are recognized and rejected with a clear message so the flag contract is stable for the projections that land in #303), --format (only mermaid; other values fail cleanly), --theme (default for now; the theme layer is #304), plus the standard --config and --manifest-key. The root --json flag wraps the diagram in a structured envelope.

Verification: unit and command tests cover emission, flag handling, JSON wrapping, and the missing-manifest error path. Additive only; no schema or generator-output change; cascade verify is unaffected.

Closes #302.

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple enabled auto-merge (squash) June 25, 2026 16:36
@joshua-temple
joshua-temple merged commit a2f3718 into main Jun 25, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

visualizer: cascade graph command with --granularity and --format

1 participant