Design & DiagramsOpen source codejgraph/drawio

draw.io: Open Source AI Repository & Self-Hosting Guide

Open-source diagramming platform powering diagrams.net across browser and Electron desktop for UML, cloud architecture, BPMN, ERDs, and flowcharts.

GitHub Stars
9,739 stars
Repository License
Apache-2.0
Last Push (UTC)
Dec 2, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/jgraph/drawio.git
View on GitHubOfficial Website
Installbrew install --cask drawio

draw.io: Architecture & Practical Workflow

draw.io maintains strict local-first file control—saving XML `.drawio` and editable `.drawio.svg`/`.drawio.png` files directly to local disk, Git repos, or Nextcloud with extensive AWS/Azure/GCP/Kubernetes shape libraries.

Recommended End-to-End Pipeline

Author infrastructure topology diagrams in draw.io desktop, export `.drawio.svg` files committed directly inside GitHub Markdown READMEs, and re-open them lossless later.

Runtime Target
Web and desktop app (GitHub)
Primary Users
Teams, Students
Code License
Apache-2.0
Focus Topics
open-source, github, diagrams, flowcharts, self-hosted

Quick Setup & Installation Steps

Platform target: Web and desktop app (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/jgraph/drawio.git && cd drawio`.
  2. 2Review the Apache-2.0 license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `brew install --cask drawio` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Author infrastructure topology diagrams in draw.io desktop, export `.drawio.svg` files committed directly inside GitHub Markdown READMEs, and re-open them lossless later.)

Hardware & VRAM Notes

Runs on standard developer workstations without specialized hardware unless loading large local weights.

CPU & Memory

Modern multi-core CPU with 8 GB–16 GB RAM for orchestration, CLI agents, OCR/document parsing, or UI workflows (32 GB+ if co-hosting large local LLMs).

GPU / VRAM

Optional unless running local neural weights; pairs cleanly with local inference servers (Ollama / llama.cpp) or remote endpoints.

Runtime Target

Web and desktop app (GitHub)

Strengths & Best For

  • Flowcharts and diagrams
  • Many templates
  • Works offline in the desktop app
  • Best suited for: Teams, Students

Limitations & Caveats

  • Interface is utilitarian
  • Complex diagrams need patience
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Design)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted draw.io vs. Hosted Alternatives (Penpot & Framer AI)
Factordraw.io (Self-Hosted)PenpotFramer AI
Execution & PrivacyRuns locally via Web and desktop app (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaApache-2.0 code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Freemium; subject to vendor free-tier limits or paid plans.
Primary FitFlowcharts and diagrams; Many templatesOpen-source, browser-based UI/UX design and interactive prototyping platform built on native SVG, CSS Flex, and Grid standards.Interactive website design and publishing platform featuring AI layout generation, localization, and smooth scroll animations.
Key Trade-offInterface is utilitarianRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for draw.io workflows.

Golden Ratio Abstract Tech LogoBranding · Vector Logo Design
Open in Studio
Luxury Serif Fashion MonogramBranding · Luxury Identity Mark
Open in Studio
Modern 3D Friendly Mascot StickerBranding · 3D Vector Sticker Illustration
Open in Studio

More Open Source Design & Diagrams Repositories

Frequently Asked Questions

What does draw.io do and how does it work?

draw.io (jgraph/drawio) is an open-source design & diagrams project with 9,739 stars on GitHub. Open-source diagramming platform powering diagrams.net across browser and Electron desktop for UML, cloud architecture, BPMN, ERDs, and flowcharts. draw.io maintains strict local-first file control—saving XML `.drawio` and editable `.drawio.svg`/`.drawio.png` files directly to local disk, Git repos, or Nextcloud with extensive AWS/Azure/GCP/Kubernetes shape libraries.

Is draw.io free to self-host and use commercially?

draw.io provides open source code licensed under Apache-2.0. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does draw.io require?

draw.io targets Web and desktop app (GitHub). Typical installation runs via `brew install --cask drawio`. Interface is utilitarian

How does self-hosting draw.io compare to hosted tools like Penpot?

Self-hosting draw.io gives you full local data control, zero per-usage vendor fees, and customizable Web and desktop app (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Penpot (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is draw.io actively maintained and what workflow fits it best?

Repository metadata records 9,739 stars on GitHub with the latest recorded push on Dec 2, 2026. Author infrastructure topology diagrams in draw.io desktop, export `.drawio.svg` files committed directly inside GitHub Markdown READMEs, and re-open them lossless later.