New diagram
Describe a system or a process in words, and the assistant writes the Mermaid for it, with real components and icons from the editor’s libraries.
- Open the editor, with any diagram of the project you want the new one in.
- Click AI in the top bar.
- Choose New diagram.
- Describe it in 3 to 2,000 characters: the parts, how they connect, and any boundaries to show, such as “A serverless order pipeline on AWS: API Gateway, Lambda, SQS and DynamoDB, with CloudWatch monitoring”.
- Click Create diagram, or press
Ctrl+Enter. The button says Drawing… while the AI works. - The new diagram opens in the editor. It’s saved in the current project with a title the AI chose, and the panel says what it drew.
What the assistant does with your description:
- Picks the diagram type: a flowchart for architectures, pipelines and processes, a sequence diagram for interactions over time, a state diagram for lifecycles, an ER diagram for data models, a class diagram for code structure, and a Gantt chart for schedules. Name a type to choose it yourself.
- Uses real icons: components are drawn as rich nodes. Name the cloud provider (AWS, Google Cloud or Azure) to get its service icons.
- Keeps it readable: short titles, one idea per box, groups only for real boundaries such as an account, a network or a team, and usually fewer than 30 boxes.
The panel’s third choice, Animated explainer, draws a topic and explains it in captioned steps: see Animated explainers.
Guide: Draw and change Mermaid diagrams with the AI assistant.