mermaid
Datasets
All datasets matching “mermaid”mermaid-flowchart-transformermermaid_samples_13k
mermaid_samples_13k
Mermaid chart dataset samples about 13k
unwrapped: graph TD ...
wrapped: ```mermaid graph TD ... ```
Checked Mermaid chart's validation
Mermaid validation : 2024/09/10
Mermaid version : 11.0.2
Mermaid visualization : Live Editor
Datasets from
Mixed dataset and select only valid mermaid chart
Celiadraw/text-to-mermaid
Celiadraw/text-to-mermaid-2
rakitha/mermaid-flowchart-transformer
bucaro/mermaid_code… See the full description on the dataset page: https://huggingface.co/datasets/injaeryou/mermaid_samples_13k.mermaid-flowchart-dataset
Mermaid Flowchart Dataset
A curated, high-quality dataset of 196 unique Mermaid.js flowchart generation examples spanning 16 business domains. Each sample pairs a natural language prompt with a valid Mermaid flowchart TD diagram and a structured chat-format message.
Designed for instruction-tuning LLMs to generate Mermaid diagram-as-code. Cleaned, deduplicated, and validated for production ML/AI use.
Dataset Overview
Property
Value
Total samples
196 (unique… See the full description on the dataset page: https://huggingface.co/datasets/RonnieAllen/mermaid-flowchart-dataset.mermaid-text-to-diagram
Mermaid Text-to-Diagram Dataset
Converted and cleaned version of Celiadraw/text-to-mermaid.
Changes from Original
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.MermaidSeqBench
Dataset Card for MermaidSeqBench
Dataset Summary
This dataset provides a human-verified benchmark for assessing large language models (LLMs) on their ability to generate Mermaid sequence diagrams from natural language prompts.
The dataset was synthetically generated using large language models (LLMs), starting from a small set of seed examples provided by a subject-matter expert. All outputs were subsequently manually verified and corrected by human annotators to ensure… See the full description on the dataset page: https://huggingface.co/datasets/ibm-research/MermaidSeqBench.image-to-mermaid-v3
Image-to-Mermaid Dataset v3.0
Task: Given a rendered diagram image, generate the equivalent Mermaid source code that reproduces it.
This is a synthetic, multi-type extension of an earlier flowchart-only release (2,569 samples, tied to an accepted MAPR2026 IEEE paper on flowchart QA). v3.0 covers 26 Mermaid diagram types across 3 difficulty tiers each.
Statistics
Split
Samples
Share
Train
12,046
79.8%
Val
1,475
9.8%
Test
1,578
10.5%
Total
15,099… See the full description on the dataset page: https://huggingface.co/datasets/DangIT02/image-to-mermaid-v3.
