Product Roadmap

Our vision is Diagram Driven Development: where your architecture diagram is the single source of truth for your codebase.

Done In Progress Planned Proposed
Production Ready

What is Done

The core conversion pipeline is stable and used by developers globally to bootstrap databases and maintain schemas.

🧜
Parsers

Full Mermaid erDiagram and PlantUML entity support with complex PK/FK markers and relationship actions.

💾
SQL Dialects

PostgreSQL, MySQL, SQLite, and Oracle 19c+. Includes support for enums, comments, and partial indexes.

🛠️
Directives

Power-user :: syntax for CHECK constraints, named indexes, composite keys, and global column overrides.

🔄
Schema Diff

Detect changes between two diagrams and see added tables, dropped columns, and destructive warnings.

🔍
Linter

Catch modeling mistakes like dangling foreign keys or missing primary keys before generating code.

API & CLI

Integrate the engine into your own tools or CI/CD pipelines via the REST API or the cross-platform binary.

Milestone F

Class Diagram to Code

Expanding beyond database modeling to general software design. Generate idiomatic boilerplate from class structures.

  • Go Generator: Idiomatic structs, interfaces, and method stubs.
  • Python Generator: Type-hinted classes, ABCs for interfaces, and dataclasses.
  • TypeScript Generator: Classes, interfaces, enums, and generics.
  • Mermaid classDiagram: Support for inheritance, composition, and visibility modifiers.
Milestone G

API Schema Generation

Bridge the gap between your data model and your external interface.

  • GraphQL Generator: Full schema with types, queries, and mutations (CRUD) derived from your ER diagram.
  • OpenAPI 3.1: Generate complete REST definitions including collection paths, schemas, and $ref links.
  • Protobuf / JSON Schema: Message definitions for gRPC and contract validation.
Milestone H

Full Project Scaffolding

Go from "Hello World" to a running CRUD service in seconds.

  • Go + Chi + GORM: A complete project structure with handlers, repositories, and migrations.
  • Python + FastAPI: Pydantic models, SQLAlchemy session management, and pytest stubs.
  • Node.js + NestJS: Modules, controllers, and services with TypeORM entities.
Future Vision

Integrations & Intelligence

Making Diagram2Code a seamless part of every developer's environment.

  • GitHub Action: Automated schema validation and migration SQL generation on every PR.
  • VS Code Extension: Syntax highlighting, hover-to-SQL tooltips, and live conversion preview.
  • Visual Editor: A web-based drag-and-drop canvas that synchronizes with the underlying Mermaid source.
  • SQL → Diagram: Reverse-engineer your existing database DDL back into a Mermaid ER diagram.