AI-Powered, Human-AI Collaboration
简体中文 | English
A modern DrawIO editor application dedicated to building better human-AI collaborative modeling tools with AI assistance. User-centered, enhancing human-machine efficiency, exploring how to best complement each other with AI. Provides out-of-the-box applications (Windows/Linux/Mac OS) or deployment as a web page.
Custom.Recording.2025-12-24.14-28-53.1.mp4
** Currently LLM API supports Openai/Deepseek/Anthropic/Gemini formats
*** Limited by Web API restrictions, mouse selection perception is not available on the web. But Web still has basic compressed canvas content context injection functionality
Here are some actual demos and their prompts:
Go to Releases to download and install the latest version
Requirements:
- Node.js 22.x or higher
- npm
Then run the following commands
# Clone the repository
git clone https://github.com/your-username/drawio2go.git
cd drawio2go
# Install dependencies
npm installWeb Mode (Browser):
npm run devOpen http://localhost:3000 in your browser
Important
Please note that multi-user web deployment is not yet adapted (although theoretically there should be no issues, it has not been tested)
- In web version, conversations may not be cancellable
- Some specific errors from drawio tools cannot be captured currently
- Conversation saving currently has some issues, may cause historical conversation loading exceptions
- Some UI display issues exist
- Support for passing selected elements from canvas to AI in Electron
- Multi-page drawio support
- Full image/file conversation support
- Support for custom DrawIO widget URL
- Direct export to png/svg
- Add more LLM API support
- Support for exporting projects to files
- Vision render review
- Support headless mode
drawio2go/
├── app/ # Next.js App Router
│ ├── components/ # React components
│ │ ├── chat/ # AI chat module
│ │ ├── settings/ # Settings panels
│ │ ├── version/ # Version management
│ │ └── toast/ # Notification system
│ ├── lib/ # Utilities & services
│ │ └── storage/ # Unified storage layer
│ ├── hooks/ # React hooks
│ ├── i18n/ # Internationalization
│ ├── api/ # API routes
│ └── styles/ # CSS modules
├── electron/ # Electron main process
└── server.js # Next.js custom HTTP server
npm run dev # Start development server
npm run build # Build for production
npm run lint # Run ESLint + TypeScript check + complexity check
npm run test # Run tests
npm run format # Format code with Prettier# Build Next.js application
npm run build
# Build Electron installer (outputs to dist/)
npm run electron:buildContributions are welcome! Please read our contributing guidelines before submitting a PR.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License
- next-ai-draw-io - Inspiration source, excellent DrawIO AI generation implementation
- DrawIO - Diagram editing engine
- HeroUI - UI component library
- Vercel AI SDK - AI integration framework















