-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add Mermaid diagram export option #2
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Summary
FlowMaster generates flow diagrams as Mermaid syntax inline, but there is no dedicated export functionality. Users should be able to export diagrams to standalone .mmd files or render them to SVG/PNG for documentation and presentations.
What needs to happen
- Add an export instruction/command in the skill file that outputs:
.mmdfile (raw Mermaid syntax, ready for Mermaid Live Editor).svgfile (rendered diagram, ifmmdcCLI from@mermaid-js/mermaid-cliis available)
- Include suggested filename conventions (e.g.,
flow-<project-name>-<date>.mmd) - Add export examples to the documentation
Acceptance criteria
- Mermaid file can be opened in Mermaid Live Editor without errors
- SVG export works when
mmdcis installed - Graceful fallback message when
mmdcis not available
Getting started
- Review the current diagram output format in
flowmaster.md - Test exporting sample output to
.mmdfiles - Add export instructions to the skill file
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers