Scripts2026年7月20日·1 分钟阅读

Next AI Draw — AI-Powered Diagramming with Draw.io Integration

A Next.js web application that combines AI capabilities with draw.io diagrams, letting you create and modify diagrams through natural language commands.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Next AI Draw
直接安装命令
npx -y tokrepo@latest install e63317a9-847e-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

Next AI Draw integrates AI language models with the draw.io diagramming engine, allowing developers to create, modify, and enhance diagrams through natural language. Instead of manually dragging shapes and drawing connections, you describe what you want and the AI generates or updates the diagram accordingly.

What Next AI Draw Does

  • Generates draw.io diagrams from natural language descriptions
  • Modifies existing diagrams through conversational commands
  • Supports flowcharts, sequence diagrams, architecture diagrams, and more
  • Renders diagrams in a full draw.io editor for manual fine-tuning
  • Exports diagrams in standard draw.io XML, PNG, and SVG formats

Architecture Overview

The application is built on Next.js with the draw.io embed as the rendering engine. User prompts are sent to a configurable LLM backend, which generates or modifies the draw.io XML. The XML is then loaded into the embedded editor for interactive editing and export.

Self-Hosting & Configuration

  • Clone the repository and install dependencies with npm
  • Set your LLM API key in the environment configuration
  • Supports OpenAI-compatible and other major LLM providers
  • Run the dev server locally or deploy to any Next.js hosting platform
  • Customize diagram templates and default styles via configuration files

Key Features

  • Natural language to diagram conversion with AI assistance
  • Full draw.io editor integration for manual adjustments
  • Multi-format export including XML, PNG, and SVG
  • Support for multiple LLM providers through configurable backends
  • Real-time preview as you describe changes

Comparison with Similar Tools

  • Mermaid — text-based diagram syntax rendered as images; Next AI Draw uses natural language and provides a full visual editor
  • D2 — declarative diagram scripting language; Next AI Draw adds AI-powered generation on top of draw.io
  • Excalidraw — whiteboard-style drawing; Next AI Draw focuses on structured diagrams with AI generation
  • tldraw — infinite canvas SDK; Next AI Draw is purpose-built for AI-assisted diagram creation

FAQ

Q: Which LLM providers are supported? A: It supports OpenAI-compatible APIs and can be configured for other providers that follow similar interfaces.

Q: Can I edit AI-generated diagrams manually? A: Yes, all generated diagrams open in a full draw.io editor where you can make manual adjustments.

Q: Is it self-hostable? A: Yes, it runs as a standard Next.js application that can be deployed anywhere.

Q: What diagram types does it support? A: Flowcharts, sequence diagrams, architecture diagrams, ER diagrams, and any type supported by draw.io.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产