🎨 Arrange your erdify ERDs by drag and drop, commit the layout, and keep it in sync in CI!
erdify generates ERDs from your code (SQLModel, SQLAlchemy, Django, Pydantic,
dataclasses, SQL DDL), always auto-laid-out. erdify-studio adds a hand-made layout
that survives schema changes and is shared through git: erdify-studio check keeps it in
sync with your models, the same way erdify --check keeps a committed diagram in sync.
No Node, no database, no browser engine needed.
Status: alpha.
check,place --auto, the canvas (overview and group diagrams, live reload) and SVG export work. The layout file format is versioned; the Python API and the HTTP API between the canvas and the server may still change before 1.0.
✨ Features
- 🖱️ Drag & Drop Canvas - Arrange the diagrams in your browser; the edges follow, Ctrl/⌘+S saves
- 🗂️ Group Diagrams - An overview plus one diagram per schema, Django app or module, linked by foreign boxes
- 💾 Layout in Git - One JSON file next to your code, keyed by
schema.table, so renaming a class keeps its position - ✅ Drift Check -
erdify-studio checkfails CI/pre-commit when a table has no position or the layout holds stale entries - 📍 Auto-Place -
place --autoputs new tables next to related ones and never moves a placed box - 🖼️ SVG Export - Byte-identical SVGs per diagram for your README and docs;
checkflags stale ones - 🔄 Live Reload - Edit your models and the canvas follows within about a second; unsaved drags are never lost
- 🧬 erdify's Own Model - Every framework erdify reads, with erdify's entities and edges, never a re-implementation
- 🔒 Local Only - Served on
127.0.0.1with a per-session token; no CDN, fonts and icons ship in the wheel
🤔 Why erdify-studio?
| erdify alone | Drawn by hand (draw.io, Excalidraw, …) | erdify-studio | |
|---|---|---|---|
| Diagram comes from your code | Yes | No | Yes, via erdify |
| Your own arrangement | No, auto layout | Yes | Yes |
| Follows schema changes | Yes | No, redraw by hand | Yes: new tables placed, removed ones dropped |
| Reviewable in git | PlantUML / Mermaid text | An editor file | JSON positions + SVGs |
| CI drift gate | --check |
No | check |
studio stores positions only. Boxes, fields and edges always come from erdify, so the diagram can't drift from your models, and a schema change never breaks your arrangement.
🚀 Quick Start
# Run without installing (or `pip install erdify-studio`; `erdify-studio[sql]` for SQL DDL)
uvx erdify-studio ./src # open the canvas, drag, save
uvx erdify-studio check ./src # in CI: exit 1 if the layout is out of date
uvx erdify-studio place --auto # place new tables without the canvas
uvx erdify-studio export # write one SVG per diagram to export_dir
Keep the layout in sync on every commit with pre-commit:
repos:
- repo: https://github.com/devsuit-berlin/erdify-studio
rev: v0.1.1
hooks:
- id: erdify-studio-check
args: [./src] # optional, default: .
# additional_dependencies: ['erdify[sql]'] # for SQL DDL
Options come from erdify's [tool.erdify] in pyproject.toml, plus:
[tool.erdify-studio]
layout = "docs/erd/erdify-layout.json" # default: erdify-layout.json next to pyproject.toml
group_by = "auto" # auto | schema | app | module | none
export_dir = "docs/erd" # optional; omitted = no committed SVGs
🔄 How It Fits Together
flowchart LR
models["Your models<br/>SQLModel · SQLAlchemy · Django<br/>Pydantic · dataclasses · SQL"] -->|erdify| canvas["erdify-studio<br/>canvas"]
canvas -->|Save| layout[("erdify-layout.json")]
canvas -->|Save / export| svgs["SVGs in export_dir"]
models --> check{{"erdify-studio check<br/>CI · pre-commit"}}
layout --> check
svgs --> check
📚 Documentation
- Installation — pip, the
[sql]extra, Python and erdify versions - Quickstart — your first layout in a few steps
- The canvas — group diagrams, foreign boxes, live reload, saving
- Check in CI & pre-commit — what
checkreports, exit codes, the pre-commit hook - Place new tables — how
place --autopicks a spot - Export SVGs — file names, determinism, Download SVG
- Configuration — every
[tool.erdify-studio]option and how entities are keyed - The layout file — the versioned JSON format
- Brand — logo, colours and how to use them
💬 Community
Questions, ideas, or a layout you're proud of? Join the Discussions. Concrete bugs and proposals go to Issues.
🤝 Contributing
Contributions are welcome! Please open an issue for bugs or feature requests, and see CONTRIBUTING.md for guidelines. Shipped changes are tracked in the changelog.
🔒 Security
For security concerns, please see SECURITY.md.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
erdify-studio stands on the shoulders of great open-source projects:
Diagrams
- erdify - Reads your models and draws the entities and edges studio arranges
Canvas
- Vue - The canvas UI
- Vite - Builds the frontend into the wheel
- Nuxt UI and Tailwind CSS - Components and styling
- Lucide - Icons
- JetBrains Mono - The diagram font
Tooling & infrastructure
- uv - Packaging, builds and dependency management
- Ruff - Linting and formatting
- mypy - Static type checking
- pytest - Testing framework
- Poe the Poet - Task runner
- pre-commit - Git hook management
- MkDocs Material - The documentation site
Community
- Contributor Covenant - Our Code of Conduct
- Keep a Changelog - Changelog format
- And everyone who contributes issues, ideas and pull requests 💜
Created & maintained with ❤️ by devsuit GmbH
Metadata
Release files for erdify-studio 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| erdify_studio-0.1.1.tar.gz | 1.3 MB | Without provenance | Details for erdify_studio-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| erdify_studio-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for erdify_studio-0.1.1-py3-none-any.whl |
Total release size: 1.7 MB
Release files / erdify_studio-0.1.1.tar.gz
| Download URL | erdify_studio-0.1.1.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c89f1914615fd3d675da73fec1a1200e674a19e12976fae750849470fd3cf803
|
|
BLAKE2b-256 checksum How to use checksums |
5db52e6f995e336878c44e1747562843e135aa9e9b608d6e59ec6f25491520f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / erdify_studio-0.1.1-py3-none-any.whl
| Download URL | erdify_studio-0.1.1-py3-none-any.whl |
|---|---|
| Size | 390.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f047ade614d1844e8f318eab9e9e556399cff5a3dbae064053183a3884d7514a
|
|
BLAKE2b-256 checksum How to use checksums |
b10a4c9e7d89f2321a104a21852a7de64195382b927a69990667f114cca05989
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for erdify-studio 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.