Converted and cleaned version of Celiadraw/text-to-mermaid.
Shape syntax normalization: All @{ shape: ... } syntax (Mermaid v11+ non-standard) converted to traditional bracket-based syntax
NodeID@{ shape: rect, label: "Text" } → NodeID["Text"]
NodeID@{ shape: diamond } → NodeID{NodeID}
All 40+ shape types mapped to their bracket equivalents
Validation: 99.2% valid Mermaid syntax (validated with mmdc CLI)… See the full description on the dataset page:
https://huggingface.co/datasets/SpongeBOB9684/mermaid-text-to-diagram.