Skip to content

feat(visualize): render SUB_WORKFLOW, parallel, and fork-join nodes i…#85

Merged
alxsuv merged 1 commit into
mainfrom
fix/69-sub-workflow-visualize
May 30, 2026
Merged

feat(visualize): render SUB_WORKFLOW, parallel, and fork-join nodes i…#85
alxsuv merged 1 commit into
mainfrom
fix/69-sub-workflow-visualize

Conversation

@alxsuv

@alxsuv alxsuv commented May 30, 2026

Copy link
Copy Markdown
Member

…n text and Mermaid formats

Extend hensu visualize to fully render compound node types that previously produced empty or minimal output.

  • SUB_WORKFLOW: inline sub-workflow nodes via --with flag; bordered subgraph in text format, nested Mermaid subgraph with namespaced IDs
  • ParallelNode: decompose into branch nodes + synthetic join node, mirroring fork-join visual pattern
  • StandardNode: show rubric criteria count, planning mode, and review gate in both formats
  • ApprovalTransition: render approved/rejected edges in both formats
  • ScoreTransition RANGE: render as "score min–max" instead of raw enum
  • Dark mode Mermaid styling per visual-style-guide
  • BFS-ordered node declarations for deterministic Mermaid layout
  • Label escaping to prevent Mermaid syntax breakage

Resolve: #69

…n text and Mermaid formats

Extend `hensu visualize` to fully render compound node types that previously produced empty or minimal output.

- SUB_WORKFLOW: inline sub-workflow nodes via --with flag; bordered subgraph in text format, nested Mermaid subgraph with namespaced IDs
- ParallelNode: decompose into branch nodes + synthetic join node, mirroring fork-join visual pattern
- StandardNode: show rubric criteria count, planning mode, and review gate in both formats
- ApprovalTransition: render approved/rejected edges in both formats
- ScoreTransition RANGE: render as "score min–max" instead of raw enum
- Dark mode Mermaid styling per visual-style-guide
- BFS-ordered node declarations for deterministic Mermaid layout
- Label escaping to prevent Mermaid syntax breakage

Resolve: #69
Signed-off-by: Aleksandr Suvorov <asuvorov@hensu.io>
@alxsuv alxsuv merged commit 4eb0c58 into main May 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Fix hensu visualize --with SUB_WORKFLOW rendering in both Text and Mermaid formats

1 participant