← All projects

DiagramGen

2026 · AI · Developer Tools

An AI Mermaid diagram generator — write a prompt between // markers and get a flowchart, sequence diagram or DFD rendered live.

Overview

DiagramGen is a split-screen editor for Mermaid diagrams. Type a plain-English prompt between // markers, press Enter, and an LLM writes the Mermaid code for you; the preview renders it instantly.

You can keep refining a diagram by describing the change ("add a retry step after login"), edit the code by hand, and export the result as SVG or a high-resolution PNG.

The Problem

Mermaid is great for diagrams in docs, but remembering its syntax slows you down. Describing the diagram in words is faster.

Key Features

  • Prompt-to-diagram: write // your idea // and press Enter
  • Update an existing diagram with a plain-English instruction
  • Live, auto-rendering preview next to the editor
  • Supports flowcharts, sequence diagrams and data-flow diagrams
  • Export to SVG or 3× high-resolution PNG

Tech Stack

React, Vite, Mermaid, Groq (Llama 3.3)

Links

Next project: SEO Agent