Skip to content
Back to search

drawio2go

A modern DrawIO editor application. AI-Powered, Human-AI Collaboration | AI 加持,人机共绘drawio

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/menghuan1918--drawio2go/badge.svg)](/listings/menghuan1918--drawio2go)

HTML

<a href="/listings/menghuan1918--drawio2go"><img src="/api/listings/menghuan1918--drawio2go/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Using Electron APP

Go to [Releases](https://github.com/Menghuan1918/drawio2go/releases) to download and install the latest version

Deploy as Web Application

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 install

**Web Mode (Browser):**

npm run dev

Open [http://localhost:3000](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)

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 280 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <img width="250px" src="public/icon/logo.svg" align="left"/>
  2. # DrawIO2Go
  3. <strong>AI-Powered, Human-AI Collaboration</strong>
  4. ![Electron](https://img.shields.io/badge/Electron-38.x-47848F?logo=electron&logoColor=white)
  5. ![Nextjs](https://img.shields.io/badge/Next.js-15-black?logo=next.js&logoColor=white)
  6. ![React](https://img.shields.io/badge/React-19-61DAFB?logo=react&logoColor=black)
  7. ![Windows](https://img.shields.io/badge/-Windows-blue?logo=windows&logoColor=white)
  8. ![MacOS](https://img.shields.io/badge/-macOS-black?&logo=apple&logoColor=white)
  9. ![Linux](https://img.shields.io/badge/-Linux-yellow?logo=linux&logoColor=white)
  10. <p align="center">
  11. <a href="./README_zh-CN.md">简体中文</a> | English </a><br><br>
  12. <a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FMenghuan1918%2Fdrawio2go"><img src="https://vercel.com/button" alt="Deploy with Vercel"/>
  13. </p>
  14. ---
  15. 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.
  16. https://github.com/user-attachments/assets/40fe5c3b-0f37-4fbf-b6ac-60b8734f2d14
  17. <div align="center">
  18. <table width="100%">
  19. <tr>
  20. <td width="33.33%" valign="top" align="center">
  21. <h3><em>NEW:</em> Canvas Enhancement</h3>
  22. <p>After inserting images, it will automatically check if connection lines overlap with elements, avoiding AI connection errors</p>
  23. <img src="https://github.com/user-attachments/assets/82cb7777-7cdf-4a94-85bf-9da02cb42496" width="90%" />
  24. <br />
  25. </td>
  26. <td width="33.33%" valign="top" align="center">
  27. <h3><em>NEW:</em> LLM Enhancement</h3>
  28. <p>Specify drawing style/colors and even add DrawIO element knowledge*</p>
  29. <img src="https://github.com/user-attachments/assets/892dddb5-6975-4565-b3f1-027691a2c0c9" width="65%" />
  30. <br />
  31. </td>
  32. <td width="33.33%" valign="top" align="center">
  33. <h3><em>NEW:</em> Custom DrawIO Canvas</h3>
  34. <p>Fully customize DrawIO canvas, modify default appearance theme / switch to self-hosted URL</p>
  35. <img src="https://github.com/user-attachments/assets/04d56aee-6b3c-4365-bf11-57f59bb8fc2b" alt="MCP" />
  36. <br />
  37. </td>
  38. </tr>
  39. <tr>
  40. <td width="33.33%" valign="top" align="center">
  41. <h3>Version Management</h3>
  42. <p>Manually create versions / AI automatically creates versions</p>
  43. <img src="https://github.com/user-attachments/assets/59d8c33a-af5c-4433-ae94-99827509e632" alt="Version Control" width="60%" />
  44. <br />
  45. </td>
  46. <td width="33.33%" valign="top" align="center">
  47. <h3>AI-Powered Modification</h3>
  48. <p>XPath-based precise deletion, modification, and query tool, effective and token-saving**</p>
  49. <img src="https://github.com/user-attachments/assets/db4c17b7-49f9-407d-a046-227092e70708" alt="Demo" width="60%" />
  50. <br />
  51. </td>
  52. <td width="33.33%" valign="top" align="center">
  53. <h3>MCP Service</h3>
  54. <p>Start an MCP service with <b>canvas content version management</b> to connect with other applications</p>
  55. <img src="https://github.com/user-attachments/assets/ad6c9e0c-8f71-4776-8522-73ebf89bf813" alt="MCP" />
  56. <br />
  57. </td>
  58. </tr>
  59. <tr>
  60. <td width="33.33%" valign="top" align="center">
  61. <h3>Multi-Page Editing</h3>
  62. <p>Supports multi-page drawio editing, let AI only edit the parts you want to modify</p>
  63. <img src="https://github.com/user-attachments/assets/b999be6b-b41e-4f73-8059-7cd26dafdd8b" alt="pages" width="90%" />
  64. <br />
  65. </td>
  66. <td width="33.33%" valign="top" align="center">
  67. <h3>Version Comparison</h3>
  68. <p>Easily compare / rollback differences between different modified versions</p>
  69. <img src="https://github.com/user-attachments/assets/149b0247-f6ae-48bd-a8e3-70dce2a3622e" alt="Comparison Page" width="100%" />
  70. <br />
  71. <br />
  72. </td>
  73. <td width="33.33%" valign="top" align="center">
  74. <h3>Canvas Context</h3>
  75. <p>No longer need to describe "the few xxx on the far right", simply drag-select with the mouse, the conversation will automatically parse canvas elements into context***</p>
  76. <img src="https://github.com/user-attachments/assets/07ec5631-21bc-4a11-853a-62058061c49f" alt="Context" width="100%" />
  77. <br />
  78. <br />
  79. </td>
  80. </tr>
  81. </table>
  82. </div>
  83. <sub>* Support specifying default theme/colors/knowledge and adding custom knowledge in settings</sub>
  84. <br />
  85. <sub>** Currently LLM API supports Openai/Deepseek/Anthropic/Gemini formats</sub>
  86. <br />
  87. <sub>*** 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</sub>
  88. <br />
  89. <br />
  90. Here are some actual demos and their prompts:
  91. <div align="center">
  92. <table width="100%">
  93. <tr>
  94. <td width="33.33%" valign="top" align="center">
  95. <h3>DeepSeek-Chat Modern Style*</h3>
  96. <p>Draw a detailed standard Agent flowchart, including MCP/Multi-Agent concepts, in English</p>
  97. <img src="https://github.com/user-attachments/assets/55b7b986-67ab-4562-8602-ddb5b2b95c44" width="80%" />
  98. <br />
  99. </td>
  100. <td width="33.33%" valign="top" align="center">
  101. <h3>DeepSeek-Chat Academic Style*</h3>
  102. <p>Draw a detailed standard Agent flowchart, including MCP/Multi-Agent concepts, in English</p>
  103. <img src="https://github.com/user-attachments/assets/6aa336af-e7b8-40ed-9bc0-9249555d2a0f" width="65%" />
  104. <br />
  105. </td>
  106. <td width="33.33%" valign="top" align="center">
  107. <h3>DeepSeek-Chat Minimalist Style*</h3>
  108. <p>Draw a detailed standard Agent flowchart, including MCP/Multi-Agent concepts, in English</p>
  109. <img src="https://github.com/user-attachments/assets/999de929-5582-4173-a5fe-f1f50ff643b1" width="80%"/>
  110. <br />
  111. </td>
  112. </tr>
  113. </table>
  114. </div>
  115. <sub>* Using official API, default color configuration, deepseek-chat v3.2, non-thinking, temperature 0.3</sub>
  116. <br />
  117. <br />
  118. <div align="center">
  119. <table width="100%">
  120. <tr>
  121. <td width="50%" valign="top" align="center">
  122. <h3>U-net Architecture Diagram</h3>
  123. <p><b>glm-4.6</b> - Draw a U-net network</p>
  124. <img src="https://github.com/user-attachments/assets/5fae95e9-573c-4ced-8841-7b27dd8cc97b" alt="unet" width="100%" />
  125. <br />
  126. <br />
  127. </td>
  128. <td width="50%" valign="top" align="center">
  129. <h3>Image to DrawIO</h3>
  130. <p><b>claude-sonnet-4.5</b> - Pass in an image generated by gemini-3-pro-image and ask it to replicate</p>
  131. <img src="https://github.com/user-attachments/assets/1b5be219-0dc6-48c8-abdc-f0a2946bf148" alt="image" width="100%" />
  132. <br />
  133. </td>
  134. </tr>
  135. <tr>
  136. <td width="50%" valign="top" align="center">
  137. <h3>UML Architecture Diagram</h3>
  138. <p><b>glm-4.7</b> - Draw a classic front-end and back-end web application UML architecture diagram</p>
  139. <img src="https://github.com/user-attachments/assets/738ef6a9-a703-49d8-b26e-5438130106d1" alt="UML" width="100%" />
  140. <br />
  141. <br />
  142. </td>
  143. <td width="50%" valign="top" align="center">
  144. <h3>Pure Element Drawing</h3>
  145. <p><b>gemini-3-pro-preview</b> - Draw a laptop</p>
  146. <img src="https://github.com/user-attachments/assets/f330468b-c52a-416a-9198-4e2e9b22539c" alt="Demo" width="80%" />
  147. <br />
  148. <br />
  149. </td>
  150. </tr>
  151. </table>
  152. </div>
  153. ## Quick Start
  154. ### Using Electron APP
  155. Go to [Releases](https://github.com/Menghuan1918/drawio2go/releases) to download and install the latest version
  156. ### Deploy as Web Application
  157. Requirements:
  158. - Node.js 22.x or higher
  159. - npm
  160. Then run the following commands
  161. ```bash
  162. # Clone the repository
  163. git clone https://github.com/your-username/drawio2go.git
  164. cd drawio2go
  165. # Install dependencies
  166. npm install
  167. ```
  168. **Web Mode (Browser):**
  169. ```bash
  170. npm run dev
  171. ```
  172. Open [http://localhost:3000](http://localhost:3000) in your browser
  173. > [!IMPORTANT]
  174. > Please note that multi-user web deployment is not yet adapted (although theoretically there should be no issues, it has not been tested)
  175. ## Known Issues
  176. - [x] In web version, conversations may not be cancellable
  177. - [x] Some specific errors from drawio tools cannot be captured currently
  178. - [x] Conversation saving currently has some issues, may cause historical conversation loading exceptions
  179. - [x] Some UI display issues exist
  180. ## Upcoming Features
  181. - [x] Support for passing selected elements from canvas to AI in Electron
  182. - [x] Multi-page drawio support
  183. - [ ] Full image/file conversation support
  184. - [x] Support for custom DrawIO widget URL
  185. - [x] Direct export to png/svg
  186. - [x] Add more LLM API support
  187. - [ ] Support for exporting projects to files
  188. - [ ] Vision render review
  189. - [ ] Support headless mode
  190. ## Project Structure
  191. ```
  192. drawio2go/
  193. ├── app/ # Next.js App Router
  194. │ ├── components/ # React components
  195. │ │ ├── chat/ # AI chat module
  196. │ │ ├── settings/ # Settings panels
  197. │ │ ├── version/ # Version management
  198. │ │ └── toast/ # Notification system
  199. │ ├── lib/ # Utilities & services
  200. │ │ └── storage/ # Unified storage layer
  201. │ ├── hooks/ # React hooks
  202. │ ├── i18n/ # Internationalization
  203. │ ├── api/ # API routes
  204. │ └── styles/ # CSS modules
  205. ├── electron/ # Electron main process
  206. └── server.js # Next.js custom HTTP server
  207. ```
  208. ## Development Guide
  209. ### Common Commands
  210. ```bash
  211. npm run dev # Start development server
  212. npm run build # Build for production
  213. npm run lint # Run ESLint + TypeScript check + complexity check
  214. npm run test # Run tests
  215. npm run format # Format code with Prettier
  216. ```
  217. ### Production Build
  218. ```bash
  219. # Build Next.js application
  220. npm run build
  221. # Build Electron installer (outputs to dist/)
  222. npm run electron:build
  223. ```
  224. ## Contributing
  225. Contributions are welcome! Please read our contributing guidelines before submitting a PR.
  226. 1. Fork the repository
  227. 2. Create your feature branch (`git checkout -b feature/amazing-feature`)
  228. 3. Commit your changes (`git commit -m 'Add amazing feature'`)
  229. 4. Push to the branch (`git push origin feature/amazing-feature`)
  230. 5. Open a Pull Request
  231. ## License
  232. This project is licensed under the MIT License
  233. ## Acknowledgments
  234. - [next-ai-draw-io](https://github.com/DayuanJiang/next-ai-draw-io) - Inspiration source, excellent DrawIO AI generation implementation
  235. - [DrawIO](https://www.drawio.com/) - Diagram editing engine
  236. - [HeroUI](https://heroui.com/) - UI component library
  237. - [Vercel AI SDK](https://sdk.vercel.ai/) - AI integration framework

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.