mrkeyoor.com_
Sun 27 Sept 08:39 UTC
AI Toolsevaluationupdated 26 Aug 2026

next-ai-draw-io review

Next AI Draw.io is a web and desktop application that turns natural-language requests, documents, and images into editable draw.io diagrams. It lets people ask a model to create or revise diagram XML while keeping the result inside the familiar draw.io editor.

+63stars / 7d
Verdict

Our install consumed 2,041 MB and npm audit found 35 known vulnerabilities, including 1 critical and 25 high, even though the 48-second build and 9-second tests passed. Next AI Draw.io is worth trying locally when editable draw.io output is more useful than an image, especially through its MCP server. Do not place the current app on a sensitive network or public endpoint until you have assessed the dependency findings and open SSRF and stored-XSS reports.

We ran it

Lab card: what happened when we ran next-ai-draw-ioScreenshot of next-ai-draw-io (next-ai-drawio.jiang.jp)
Install✓ · 55s1552 packages · 2041 MB
Build✓ · 48s
Tests✓ · 9sran, no count parsed
Known vulns351 critical · 25 high · 6 moderate · 3 low (npm audit)
Repo306 files~40,702 lines of source · 4.8 MB · 6 CI workflows · Dockerfile · tests dir

Answers from our run

Does next-ai-draw-io build from source?

Dependencies installed in 55 seconds (1552 packages), and the build succeeded in 48 seconds. We cloned commit 155ef4f into a clean Debian container with 3 CPUs and no project-specific setup.

Do next-ai-draw-io's tests pass?

The test command failed in our container, and its output did not report a pass or fail count.

Does next-ai-draw-io have known vulnerabilities in its dependencies?

npm audit flagged 35 known advisories in the dependency tree, including 1 critical at the time of our run.

Who should not use next-ai-draw-io?

Public or sensitive deployments that cannot accept unresolved security exposure: open reports cover unauthenticated SSRF in /api/parse-url and stored XSS in the MCP server history flow.

What are the alternatives to next-ai-draw-io?

draw.io, Excalidraw, Mermaid. Our install consumed 2,041 MB and npm audit found 35 known vulnerabilities, including 1 critical and 25 high, even though the 48-second build and 9-second tests passed.

Setup3/5Build is easy, but 1,552 packages and provider setup are heavy
Docs4/5Good provider, Docker, deployment, MCP, and admin guidance
Community5/5Recent push and active issue and pull-request traffic
Maturity2/5Passing build, offset by severe audit and open security reports

Who it’s for

Developers who regularly turn architecture notes or process descriptions into editable diagrams.
Teams already using draw.io and willing to supply a capable model and its API credentials.
Claude Code, Cursor, or VS Code users who want diagram creation through MCP.
Self-hosters who need several model providers behind one diagram interface.

Who it’s NOT for

Public or sensitive deployments that cannot accept unresolved security exposure: open reports cover unauthenticated SSRF in /api/parse-url and stored XSS in the MCP server history flow.
Teams with a strict clean-audit policy: our npm audit found 35 known vulnerabilities, including 1 critical and 25 high severity.
Users expecting reliable results from a small or weak model: the README says diagram XML needs strong long-form and formatting ability, and an open report describes a longer prompt finishing without producing a diagram.
Offline installations expecting the normal editor embed to work unchanged: the Docker guide sends blocked embed.diagrams.net environments to a separate offline-deployment configuration.
People who need deterministic diagram-as-code review: model-generated draw.io XML is edited visually and may vary between requests.

Setup reality

Our npm install succeeded in 55 seconds, adding 1,552 packages and using 2,041 MB on disk. The production build passed in 48 seconds, and the available tests passed in 9 seconds. npm audit reported 35 known vulnerabilities: 1 critical, 25 high, 6 moderate, and 3 low.

Running the interface still requires a model. Most providers need an API key and model selection; Ollama can stay local. Shared deployments can define server-side models and should set an admin password before exposing the management panel.

Docker, a compose file, desktop releases, Vercel, EdgeOne, and Cloudflare paths exist. Offline networks need extra editor configuration, and the open SSRF and stored-XSS reports make an internet-facing deployment a poor default until affected code and dependencies are reviewed.

It produces editable draw.io files, not flat pictures

Next AI Draw.io asks a language model to create or modify draw.io XML, then presents the result in an embedded editor. That makes the output more useful than a generated PNG when a diagram needs hand corrections, labels, connectors, or later revisions. Inputs can include a prompt, an existing image, a PDF, or text. History lets a user return to earlier diagram states after an AI edit goes wrong.

The repository was modest at 306 files and about 40,702 source lines, yet installation pulled 1,552 packages. Much of the appeal comes from combining existing systems: Next.js provides the application, the Vercel AI SDK handles model calls, and react-drawio handles the canvas. The project adds the chat workflow, provider configuration, document input, diagram history, and the instructions that persuade a model to emit valid XML.

Model quality decides whether a prompt becomes a diagram

The provider list covers hosted services including OpenAI, Anthropic, Gemini, Bedrock, DeepSeek, Qwen, and several compatible gateways. Ollama is the local option. Administrators can expose several configured models to users through an environment variable or JSON file, and the admin panel controls models, access codes, features, observability, and quota when ADMIN_PASSWORD is set.

Our 48-second build says the application compiles cleanly at commit 155ef4f; it says nothing about diagram quality from a given provider. The README directly warns that the task needs a strong model capable of long output under strict draw.io XML constraints. An open issue from a user of DS V4 Flash reports that longer prompts complete their reasoning without producing a diagram. Treat model selection as part of setup, not an interchangeable last step.

MCP makes the tool useful inside coding work

The separate MCP server allows Claude Desktop, Claude Code, Cursor, and VS Code to open diagram sessions. A Claude Code user can add it through an npx command and request a flowchart without leaving the terminal workflow. The result appears in a browser for inspection and editing. That is a better fit for software design work than copying a model's XML out of a chat window.

MCP also expands the part that needs protection. Our checkout had a tests directory and 6 CI workflow files, but an open security report for MCP server 0.2.1 describes an unauthenticated history endpoint accepting raw SVG text that later reaches innerHTML. The reporter links it with session-ID disclosure and says the chain can run script when a victim opens History. That report covers versions bundled through application 0.4.16 and was still open during research.

What happened when we ran it

Our npm install succeeded in 55 seconds. It added 1,552 packages and left 2,041 MB on disk, unusually large for a diagram application with a 4.8 MB checkout. The production build completed successfully in 48 seconds. The provided tests also passed, taking 9 seconds in the same unprivileged Debian container.

The security audit is the result that changes our recommendation. npm reported 35 known vulnerabilities: 1 critical, 25 high, 6 moderate, and 3 low. We did not invent a risk from package count or infer that every advisory is reachable in normal use. The measured audit is still too serious to wave away, particularly beside current reports about server-side URL fetching and the MCP history interface.

This was a clean run in a 3-CPU container with 8 GB of RAM and no secrets. It verifies that dependency installation, compilation, and the available test command can finish from scratch. It does not exercise a paid model, judge generated diagrams, or prove that public deployment is safe. Those would be different checks, and the supplied measurement block contains no quality benchmark.

URL import creates a dangerous public-server boundary

The application can fetch a URL and turn its contents into material for a diagram. Issue 921 says the /api/parse-url guard compares hostname strings without resolving DNS before the server fetches the address. The report demonstrates a hostname resolving to loopback and says redirects are not rechecked, allowing an unauthenticated caller to read responses from internal HTTP services. It identifies versions through 0.4.16 and links advisory GHSA-wqcv-5qvx-vx75.

That matters more than the easy Docker command. A container can start on port 3000 with a provider key, but placing it behind a public route may expose both expensive model access and server-side network reach. Keep a trial bound to a trusted machine. If a team must deploy it, review the current code or patched release, add authentication outside the app, restrict egress, protect the admin panel, and avoid assuming a reverse proxy fixes an application-level fetch flaw.

Active maintenance has not yet closed the risk

GitHub showed 35,286 stars, a push on 2026-08-25, and 184 open issues and pull requests combined. The latest release was v0.4.16 from 2026-05-21. A release date alone would be a weak health signal, but current dependency pull requests and feature work show ongoing activity. The unresolved security reports remain relevant precisely because the repository is active enough to address them.

For a private workstation, Next AI Draw.io offers a genuinely handy loop: describe a system, inspect an editable result, and ask for changes through chat or MCP. The 9-second passing test run is encouraging. The 35 audit findings and two concrete security reports rule out casual public hosting. Use draw.io alone for maximum control, or Mermaid when text diffs and deterministic rendering matter more than conversational generation.

Alternatives

ProjectWhat it isPick it when
draw.io gh↗The underlying visual diagram editor without this project's model-driven chat layer.pick this instead when human-controlled editing, offline use, and the smaller security surface matter more than prompt-based generation.
Excalidraw gh↗A collaborative whiteboard with a hand-drawn visual style and an open file format.pick this instead when quick collaborative sketching matters more than detailed draw.io XML and model-provider support.
Mermaid gh↗A text syntax and renderer for diagrams that live beside code and documentation.pick this instead when diagrams must be diffable, reproducible, and maintained through text review.

What people are saying

  1. [github-trending] DayuanJiang/next-ai-draw-io

Sources

  1. Next AI Draw.io README
  2. Next AI Draw.io repository
  3. Release 0.4.16
  4. SSRF report 921
  5. Stored XSS report 914
  6. Diagram generation report 924

More ai tools reviews

ComfyUI-H3VAE_TRT · reverify · gallery · undress-service · khazix-skills · nobodywho · the whole board →