Supported formats
Each format has strengths. Use the one your team already knows.
| Format | Good for | In Nensea |
|---|---|---|
| Mermaid | Flowcharts and sequence diagrams in Markdown | Edit, import and export |
| Structurizr DSL | C4 models with several linked views | Edit, import and export |
| PlantUML | UML class diagrams | Edit, import and export a bounded subset |
| D2 | Readable general-purpose diagrams | Edit, import and export |
| SQL DDL | Database schemas | Import to an ERD and generate DDL |
Know exactly what a conversion changes
No two diagram languages express the same things. When a view uses something a format cannot represent, such as a particular flow type, Nensea shows a loss report listing each affected element instead of silently dropping it.
Safe by default
File includes, network references and preprocessor directives are disabled in text sources, so pasting a diagram cannot pull in remote content.
Common questions
- What is diagram as code?
- Diagram as code means describing a diagram in a text language such as Mermaid or Structurizr DSL, so it can be versioned, reviewed and generated like source code.
- Can I convert Mermaid to a visual diagram I can edit?
- Yes. Paste Mermaid source and Nensea creates an editable diagram. You can keep editing either the source or the canvas.
- Which diagram-as-code languages does Nensea support?
- Mermaid, Structurizr DSL, PlantUML and D2, plus SQL DDL for database diagrams.
Put your next diagram in context.
Tell us what your team, class or lab needs to explain, and we’ll set you up with Nensea’s editable AI diagrams.
Get started with Nensea