AI-Powered Diagram Creation Tool - Production Deployment
AI-Powered Diagram Creation Tool with Web & Desktop Deployment
AIO Canvas is a production-ready AI-powered wrapper around draw.io that enhances the popular diagramming tool with natural language capabilities, working seamlessly as both a web application and a desktop application with persistent features.
https://draw.nulled.ai - Production Status β
- Platform: Docker containers with Caddy reverse proxy
- Backend: Next.js 16 with API routes
- SSL: Let's Encrypt auto-renewing certificates
- DNS: draw.nulled.ai β 209.38.58.83
- Status: Fully operational with AI diagram generation
- Full Offline Functionality: Complete draw.io capability without internet
- Cross-Platform Support: Windows, macOS, and Linux
- Native Performance: System integration with file dialogs and notifications
- AI Integration: Local AI model support (Ollama compatible)
- Auto-Save: Automatic diagram saving to local SQLite database
- History Management: Version control with restore capabilities
- Recent Files: Quick access to recently opened diagrams
- API Key Storage: Encrypted API key management via Electron's safeStorage
- Features
- MCP Server (Preview)
- Getting Started
- Deployment
- Multi-Provider Support
- How It Works
- Architecture
- Features
- MCP Server (Preview)
- Getting Started
- Deployment
- Multi-Provider Support
- How It Works
- Architecture
- draw.io Integration: Seamlessly wraps draw.io (https://github.com/jgraph/drawio) with AI-powered enhancements
- Offline Desktop App: Full offline functionality through Electron desktop version (https://github.com/jgraph/drawio-desktop)
- Natural Language Commands: Create and manipulate diagrams using simple text prompts
- Multi-Platform Support: Works as web application (Vercel/Cloudflare) and standalone desktop app
- LLM-Powered Diagram Creation: Leverage Large Language Models to create and manipulate draw.io diagrams directly through natural language commands
- Image-Based Diagram Replication: Upload existing diagrams or images and have the AI replicate and enhance them automatically
- PDF & Text File Upload: Upload PDF documents and text files to extract content and generate diagrams from existing documents
- AI Reasoning Display: View the AI's thinking process for supported models (OpenAI o1/o3, Gemini, Claude, etc.)
- Diagram History: Comprehensive version control that tracks all changes, allowing you to view and restore previous versions
- Interactive Chat Interface: Communicate with AI to refine your diagrams in real-time
- Cloud Architecture Diagram Support: Specialized support for generating cloud architecture diagrams (AWS, GCP, Azure)
- Animated Connectors: Create dynamic and animated connectors between diagram elements
- β Local Database: SQLite for persistent diagram storage
- β Auto-Save: Automatic diagram saving every 30 seconds (useAutoSave hook)
- β History Management: Version control with restore capabilities (useDiagramHistory hook)
- β Recent Files: Quick access to recently opened diagrams (useRecentFiles hook)
- β Configuration Storage: Persisted settings and API keys (useAPIKeys hook)
- β Offline Mode: Full functionality without internet connection
Phase 2 Complete: All persistence features implemented and integrated with diagram context.
Phase 3 Complete: UI Components (diagram history dialog, recent files menu, auto-save restore dialog) - β Fully implemented and integrated
- API Key Encryption: Secure storage using Electron's safeStorage
- Local Data Storage: All data stored locally in your environment
- No Telemetry: No data transmission to external servers
- Privacy First: User data never leaves your machine
Preview Feature: This feature is experimental and may not be stable.
Use AIO Canvas with AI agents like Claude Desktop, Cursor, and VS Code via MCP (Model Context Protocol).
{
"mcpServers": {
"drawio": {
"command": "npx",
"args": ["@canvas-a-i-o/mcp-server@latest"]
}
}
}claude mcp add drawio -- npx @canvas-a-i-o/mcp-server@latestThen ask Claude to create diagrams:
"Create a flowchart showing user authentication with login, MFA, and session management"
See the MCP Server README for VS Code, Cursor, and other client configurations.
- Clone the repository:
git clone https://github.com/PhenixStar/canvas-A-I-O.git
cd canvas-A-I-O
npm install
cp env.example .env.local- Configure environment variables in
.env.local:
See the Provider Configuration Guide for detailed setup instructions for each provider.
Run the development server:
npm run devOpen http://localhost:6002 in your browser.
Bring Your Own API Key: Configure your provider and API key via the Settings icon in the chat panel. Keys are stored locally in your browser.
- Hosted on Vercel or Cloudflare
- Real-time AI collaboration
- Browser-based draw.io functionality
- Cross-platform access
- Electron-based desktop app
- Full offline functionality
- Native performance and integration
- Windows, macOS, and Linux support
| Command | Description |
|---|---|
npm run dev |
Start development server on port 6002 |
npm run build |
Build for production |
npm run start |
Start production server on port 6001 |
npm run lint |
Run Biome linter |
npm run format |
Format code with Biome |
npm run electron:dev |
Start Electron desktop app in development |
npm run dist |
Build desktop distributions |
Live Deployment: https://draw.nulled.ai
- Platform: Docker containers with Caddy reverse proxy
- SSL: Let's Encrypt (auto-renewing)
- Features: Full AI diagram generation capabilities
- Status: Production-ready
Go to Production Deployment Guide
Deploy using Vercel:
- Import your repository
- Configure environment variables in the Vercel dashboard (same as
.env.local) - Deploy
Go to Offline Deployment Guide
- AWS Bedrock
- OpenAI
- Anthropic
- Google AI
- Google Vertex AI
- Azure OpenAI
- Ollama
- OpenRouter
- DeepSeek
- SiliconFlow
- ModelScope
- SGLang
- Vercel AI Gateway
All providers except AWS Bedrock and OpenRouter support custom endpoints.
Detailed Provider Configuration Guide
Administrators can configure multiple server-side models available to all users without requiring personal API keys. Configure via:
AI_MODELS_CONFIGenvironment variable (JSON string)ai-models.jsonfile
Model Requirements: This task requires strong model capabilities for generating long-form text with strict formatting constraints (draw.io XML). Recommended models:
- Claude Sonnet 4.5
- GPT-4.1 / GPT-5.1
- Gemini 2.5 Pro
- DeepSeek V3 / R1
Note: The
claudeseries has been trained on draw.io diagrams with cloud architecture logos (AWS, Azure, GCP). Best choice for cloud architecture diagrams.
- Next.js: Frontend framework and routing
- Vercel AI SDK (
ai+@ai-sdk/*): Streaming AI responses and multi-provider support - react-drawio: Diagram representation and manipulation
- Electron: Desktop application wrapper
- Radix UI: Component primitives
Diagrams are represented as XML that can be rendered in draw.io. The AI processes natural language commands and generates or modifies this XML accordingly.
User Input β AI Provider β XML Generation β react-drawio Rendering β Display
canvas-A-I-O/
βββ app/ # Next.js app router (web application)
βββ components/ # React components
βββ electron/ # Electron desktop app (offline wrapper)
βββ lib/ # Utility functions
βββ hooks/ # React hooks
βββ packages/
β βββ mcp-server/ # MCP server implementation
β βββ claude-plugin/ # Claude plugin
βββ docs/ # Documentation
AIO Canvas acts as an intelligent wrapper around draw.io, extending its capabilities with:
- AI-powered diagram generation and modification
- Natural language interface to draw.io XML
- Enhanced export and import capabilities
- Integration with multiple AI providers
See FAQ for common issues and solutions.
Apache License 2.0