{"full_name":"DayuanJiang/next-ai-draw-io","owner":"DayuanJiang","name":"next-ai-draw-io","url":"https://github.com/DayuanJiang/next-ai-draw-io","description":"Draw and edit draw.io diagrams by chatting with an AI. Web app, desktop app, and an MCP server for Claude Code, Cursor, Codex and VS Code.","homepage":"https://next-ai-drawio.jiang.jp/","topics":[],"language":"TypeScript","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/34411969?u=2e39723139bb0dae3d267fc55e8cbc9e705455be&v=4","created_at":"2025-03-23T15:03:48Z","pushed_at":"2026-11-09T18:08:51Z","metrics":{"stars":36853,"forks":3843,"watchers":135,"issues":352,"prs":653,"releases":20,"issues_open":null,"issues_closed":null,"prs_open":null,"prs_closed":null,"prs_merged":null,"discussions":46},"growth":{"day":{"stars":40,"forks":3,"base_day":"2026-11-09"},"week":{"stars":267,"forks":27,"base_day":"2026-11-03"},"month":{"stars":751,"forks":-8,"base_day":"2026-10-11"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-09","2026-11-10"],"stars":[35170,35237,35278,35309,35333,35353,35373,35399,35496,35544,35578,35611,35637,35677,35709,35731,35765,35786,35806,35844,35877,35892,35905,35934,35947,35986,36001,36023,36031,36043,36050,36064,36077,36093,36095,36102,36110,36130,36134,36143,36155,36163,36189,36213,36245,36277,36305,36324,36330,36341,36373,36390,36398,36422,36443,36465,36491,36507,36586,36644,36813,36853],"forks":[3776,3778,3782,3789,3795,3796,3799,3804,3814,3818,3817,3819,3819,3821,3823,3810,3814,3819,3820,3827,3832,3833,3835,3840,3843,3850,3855,3857,3856,3855,3856,3858,3857,3857,3852,3851,3843,3846,3848,3851,3850,3850,3850,3852,3853,3851,3850,3848,3830,3798,3802,3802,3805,3809,3811,3813,3814,3813,3816,3820,3840,3843],"watchers":[143,143,143,143,143,143,143,144,151,152,151,152,152,153,152,148,148,148,148,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,149,148,147,140,141,141,136,136,136,137,137,136,136,136,135,135],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]},"boards":{},"same_owner":[],"issues":[{"number":516,"title":"现在的图标对暗色配色的系统不友好","comments":7,"created_at":"2026-01-05T06:43:53Z"},{"number":613,"title":"[Feature] Add automatic update functionality for Electron app","comments":6,"created_at":"2026-01-18T23:32:10Z"},{"number":322,"title":"[Feature] 请求可以支持聊天模式而非每次都是画图","comments":6,"created_at":"2025-12-19T01:40:02Z"},{"number":888,"title":"[Bug] 绘制线路的效果并不好，线路重叠甚至是丢失","comments":5,"created_at":"2026-07-08T08:54:16Z"},{"number":778,"title":"在windows上使用exe程序，如何让程序记住历史未关闭的图","comments":5,"created_at":"2026-04-03T09:34:24Z"},{"number":656,"title":"[Bug] GLM调用失败","comments":5,"created_at":"2026-01-28T09:36:36Z"},{"number":1033,"title":"[Feature] 建议丰富手动编辑的功能，有时候我想改一下颜色好麻烦！","comments":4,"created_at":"2026-10-26T09:07:58Z"},{"number":763,"title":"[Feature] Can a custom header be added to use as a special identifier for self-modeling?（windows-setup）","comments":4,"created_at":"2026-03-30T07:00:25Z"}],"discussions":[{"number":993,"title":"PSJ: runnable original-stream identity checks before caller-owned tool dispatch","comments":0,"category":"Show and tell","created_at":"2026-10-14T16:26:26Z"},{"number":944,"title":"为什么没有Save as功能? Why is there no \"Save as...\" function?","comments":1,"category":"General","created_at":"2026-09-26T13:14:36Z"},{"number":936,"title":"4.16版本无法使用除了deepseek以外的国产大模型，这个需要如何解决","comments":1,"category":"Q&A","created_at":"2026-09-08T00:23:26Z"},{"number":941,"title":"1","comments":1,"category":"General","created_at":"2026-08-24T10:42:10Z"},{"number":901,"title":"胜算云赞助沟通","comments":0,"category":"Ideas","created_at":"2026-07-28T09:12:19Z"},{"number":846,"title":"docker部署使用AI_MODELS_CONFIG参数无效","comments":0,"category":"Q&A","created_at":"2026-05-26T03:59:04Z"},{"number":831,"title":"如何打包next-ai-draw-io成.exe文件？","comments":1,"category":"Q&A","created_at":"2026-05-06T03:43:46Z"},{"number":830,"title":"deepseek v4  报网络错误，输出一段时间后突然 网络错误中断，测试几次都是这样的","comments":0,"category":"General","created_at":"2026-05-03T19:21:19Z"}],"latest_release":{"name":"v0.5.1","tag":"v0.5.1","published_at":"2026-10-31T02:25:35Z","body":"## What's New in v0.5.1\n\nThree weeks of fixes for the desktop app: the AI works on the page you are viewing, a style button sits next to the selection, PDF export keeps the crop size on Windows, every answer shows its tokens and time, and models can think or not by a switch. It also brings the security updates of Electron 42.\n\n### New Features\n\n- **Style button next to the selection**: a brush button next to the selected shapes opens draw.io's format panel, for changing colors, lines and text by hand. With the chat panel hidden, a sparkle button next to it opens the panel to ask the AI (#1039)\n- **Tokens, time and estimated cost under each answer**: hover the numbers for the details, such as how much input was read from the cache (#1016), and an estimated cost priced from models.dev (#762 by @Zhangxiaoyi688)\n- **Thinking switch**: models whose API can turn thinking on or off get a switch in the model settings (#911 by @lq-kiren)\n- **Named styles**: the model defines a style once and draws with it by name, instead of repeating the same style string on every shape (#969)\n- **Models that cannot read images are marked** in the settings, with a warning when an image is attached to one (#1018)\n- **MCP server card on the start screen**, with a short video, and a docs button (#990, #991, #1010)\n\n### Improvements\n\n- **The AI reads and draws the page you are viewing** in a multi-page diagram, instead of always the first page (#974)\n- **The canvas goes with a message only when the model needs it**: earlier messages stay unchanged, so prompt caching works, and hand edits made between answers are no longer turned back (#1024)\n- **Saved prompts fill the message box** instead of sending at once, so they can be changed first (#1036)\n- **Pictures in the diagram reach the model as short references** instead of thousands of characters of image data (#1007)\n- **Time so far while a model draws without streaming** (#1011)\n- **Fixes from a user simulation**: the \"changed by AI\" outline fades after a few seconds, Enter sends, saved diagrams are one click away, PNG export is 2x on white with a margin, and each edit's reply says what changed (#996)\n- **New app icon** (#985)\n- **MiniMax**: current text models suggested (#1026 by @octo-patch)\n\n### Bug Fixes\n\n- **PDF export on the desktop**: Export in the PDF dialog saves the PDF directly with the diagram's own page size, so Crop no longer adds large margins and wide diagrams are no longer turned 90 degrees on Windows (#1038)\n- **Shapes stay on their layer** when the AI edits a page whose other layer comes first in the file (#1037)\n- **Custom data on shapes** is kept on their `<object>` wrapper (#1017)\n- **Retries, stops and cut-off answers**: a retry after a tool error sends the current canvas, Stop also ends the screenshot check and the connection test, and an answer that ran out of output tokens before drawing says so with a Retry button (#987)\n- **The daily limit message** no longer crashes the page (#1006)\n\n### Security\n\n- **Credentials**: the Test and model list endpoints refuse credentials that are not text (#1021)\n- **Dependencies**: Electron 42 (#1029, after Electron 41.10.7 in #973), `@modelcontextprotocol/sdk` 1.32.0 (#1028), `@opennextjs/cloudflare` 1.20.2 (#1000), `proxy-addr`, `shell-quote` and `wrangler` (#971)\n\n### MCP Server (0.4.1 to 0.4.7)\n\n- **The preview is the web app's canvas**: version cards, compare and restore, and `get_selection` for \"this box\" (#984)\n- **Saved sessions**, `restore_version` and the history on disk (#981); a screenshot attached to `create_new_diagram` and `edit_diagram` results on request (#983)\n- **`load_diagram`** opens `.drawio.svg` files (#982) and accepts inline `xml` (#946 by @caoxiaole07); a summary of the user's hand changes, an XML reference by topic and preview options (#982); drawing guide hints and your own drawing rules (#980)\n- **Install**: one-click install for VS Code and Cursor, and a Gemini CLI extension (#1015); the Windows preview opens withou"},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-10T09:35:25Z","history_start":"2026-09-06"}