Description
Add support for exporting Mermaid diagrams from the workflow's JSON/YAML model using the CNCF TypeScript SDK's convertToMermaidCode class. This approach deserialises the workflow model directly and converts it to Mermaid code.
Building a custom React Flow → Mermaid mapper was evaluated but ruled out due to high complexity and maintenance burden. The CNCF SDK approach was selected as the best balance of maintainability and implementation effort.
Motivation
Users want to retain Mermaid output for documentation purposes
Proposed Implementation
Design TBD
No response
Definition of Done
Description
Add support for exporting Mermaid diagrams from the workflow's JSON/YAML model using the CNCF TypeScript SDK's
convertToMermaidCodeclass. This approach deserialises the workflow model directly and converts it to Mermaid code.Building a custom React Flow → Mermaid mapper was evaluated but ruled out due to high complexity and maintenance burden. The CNCF SDK approach was selected as the best balance of maintainability and implementation effort.
Motivation
Users want to retain Mermaid output for documentation purposes
Proposed Implementation
Design TBD
No response
Definition of Done