CanvasAnvil is an open source AI diagram maker and flowchart generator - an infinite-canvas diagram editor and self-hosted drawio alternative that writes editable .drawio files. Text to diagram, then fix nodes, layout and labels in place. Also AI presentations, interior design CAD/BOM, posters and infographics.
TypeScript ai-agentsai-diagramai-presentationbomcadcanvasdiagramdiagram-generatordrawioflowchartinfographicspptppt-generatorpresentation-generatorreactsvgedittext-to-diagramtypescriptworkflow
readme_update_about_language_and_gif
codingFeng1018524d4448a41
diff --git a/.tmp_head_readme.md b/.tmp_head_readme.mdnew file mode 100644index 0000000..cd2d8ba--- /dev/null+++ b/.tmp_head_readme.md@@ -0,0 +1,146 @@+<p align="center">+ <img src="public/logo.png" alt="CanvasAnvil logo" width="100%" />+</p>++<h1 align="center">CanvasAnvil</h1>++<p align="center">+ <a href="README.md">English</a> |+ <a href="README.zh-CN.md">简体中文</a> |+ <a href="README.zh-TW.md">繁體中文</a> |+ <a href="README.ja-JP.md">日本語</a> |+ <a href="README.ko-KR.md">한국어</a> |+ <a href="README.fr-FR.md">Français</a>+</p>++CanvasAnvil is a multi-canvas AI creation platform that turns a single requirement into deliverables you can iterate on.++## Canvas Previews++<div align="left">+ <div style="width: 680px;">+ <h3 align="center">Flow Canvas</h3>+ <img src="public/demos/flow.gif" alt="Flow canvas" width="680" />+ </div>+</div>++<div align="left">+ <div style="width: 680px;">+ <h3 align="center">CAD Canvas</h3>+ <img src="public/demos/cad.gif" alt="CAD canvas" width="680" />+ </div>+</div>++<div align="left">+ <div style="width: 680px;">+ <h3 align="center">PPT Canvas</h3>+ <img src="public/demos/ppt.gif" alt="PPT canvas" width="680" />+ </div>+</div>++## Video Tutorials++- [Watch on Bilibili](https://www.bilibili.com/video/BV1jzZ3BBEHc?vd_source=b6b031f92061ae667eba1185f4782a1c)+- [Watch on YouTube](https://youtu.be/n3Otj--aLRo)+- [Watch on Douyin](https://v.douyin.com/JwlwhmE6R40/)++## Try CanvasAnvil++- [Open CanvasAnvil](https://canvasanvil.codingfgd.asia)+- Note: The current server configuration is modest, so the service may occasionally feel slow or laggy. Thanks for your understanding.++## Capability Overview (User View)++- `Flow`: flowchart generation and partial edits (draw.io XML)+- `CAD`: interior design planning, analysis boards, 2D floor plans, render tasks, and BOM+- `PPT`: presentation draft generation and iterative editing++## Typical Workflow++1. Enter your requirement+2. Generate/iterate on design plan+3. Generate analysis boards and confirm strategy+4. Generate and edit 2D floor plan+5. Export outputs (diagrams / lists / slides)++## Quick Start++1. Install dependencies+```bash+npm install+```+2. Start development+```bash+npm run dev+```+Default URL: `http://localhost:5173`++3. Type check+```bash+npm run check+```+4. Production build+```bash+npm run build+```++## Origins and Integrations++- Flow canvas: integrated and enhanced from [next-ai-draw-io](https://github.com/DayuanJiang/next-ai-draw-io)+- PPT canvas: integrated and enhanced from [banana-slides](https://github.com/Anionex/banana-slides.git)+- CAD canvas: implemented in-house (architecture, agent workflow, 2D SVG editing pipeline, BOM/render pipeline)++Key improvements:++- Unified UX across canvases (chat, code blocks, one-click apply to canvas)+- More stable agent routing and retry mechanisms+- CAD-specific capabilities (patch / replace / BOM / 7-slot render workflow)+- Cross-canvas state/version/export pipelines++## Core Capabilities (Developer View)++- Flow: chat-driven flowchart generation, patch/replace, one-click apply, snapshot restore+- CAD: `cad_plan` output, parallel analysis-board generation, 2D SVG partial updates with analysis-image references, concurrent render jobs, BOM export+- PPT: structured content generation, page-level incremental edits, streaming iteration++## Tech Stack++- Frontend: React 18 + TypeScript + Vite+- UI: Tailwind CSS + Radix UI + Lucide+- Diagram engines: draw.io/diagrams.net for Flow, SVG-Edit for CAD+- Model integration: configurable multi-model access (chat / image)++## Useful Scripts++- `npm run dev`: start development server+- `npm start`: production start (static site + API)+- `npm run build`: production build+- `npm run check`: TypeScript check+- `npm run lint`: ESLint++## Project Structure (Key Paths)++```text+.+├─ agent/ # Prompts and sub-agent specs for CAD/Flow/PPT+├─ public/ # Static assets (including SVG-Edit)+├─ src/+│ └─ workspaces/+│ ├─ flow/ # Flow canvas+│ ├─ cad/ # CAD canvas (in-house core)+│ └─ ppt/ # PPT canvas+├─ api/ # API logic+└─ README.md+```++## Docs++- Deployment guide: [Open deployment guide](deploy/README.md)+++我的微信二维码如下,欢迎联系我。++<p align="left">+ <img src="public/wechat.jpg" alt="WeChat QR code" width="280" />+</p>\ No newline at end of filediff --git a/README.fr-FR.md b/README.fr-FR.mdindex 735ddc9..5956d53 100644--- a/README.fr-FR.md+++ b/README.fr-FR.md@@ -1,5 +1,5 @@-<p align="center">- <img src="public/logo.png" alt="CanvasAnvil logo" width="100%" />+<p align="center">+ <img src="public/logo.png" alt="CanvasAnvil logo" width="92%" /></p><h1 align="center">CanvasAnvil</h1>@@ -17,26 +17,20 @@ CanvasAnvil est une plateforme IA multi-canvas qui transforme une exigence uniqu## Aperçu des canvas-<div align="left">- <div style="width: 680px;">- <h3 align="center">Canvas Flow</h3>- <img src="public/demos/flow.gif" alt="Canvas Flow" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">Canvas CAD</h3>- <img src="public/demos/cad.gif" alt="Canvas CAD" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">Canvas PPT</h3>- <img src="public/demos/ppt.gif" alt="Canvas PPT" width="680" />- </div>-</div>+<table>+ <tr><td width="680" align="center"><strong>Canvas Flow</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/flow.gif?raw=1" alt="Canvas Flow" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>Canvas CAD</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/cad.gif?raw=1" alt="Canvas CAD" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>Canvas PPT</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/ppt.gif?raw=1" alt="Canvas PPT" width="680" /></td></tr>+</table>## Tutoriels vidéo@@ -137,7 +131,7 @@ Améliorations clés :- Guide de déploiement : [Ouvrir le guide de déploiement](deploy/README.md)+## Contact WeChatMon QR code WeChat est ci-dessous, n'hésitez pas à me contacter.diff --git a/README.ja-JP.md b/README.ja-JP.mdindex 7f20ee8..b6a3e6e 100644--- a/README.ja-JP.md+++ b/README.ja-JP.md@@ -1,5 +1,5 @@-<p align="center">- <img src="public/logo.png" alt="CanvasAnvil logo" width="100%" />+<p align="center">+ <img src="public/logo.png" alt="CanvasAnvil logo" width="92%" /></p><h1 align="center">CanvasAnvil</h1>@@ -17,26 +17,20 @@ CanvasAnvil は、1つの要件を反復可能な成果物へ変換するマル## キャンバスプレビュー-<div align="left">- <div style="width: 680px;">- <h3 align="center">Flow キャンバス</h3>- <img src="public/demos/flow.gif" alt="Flow キャンバス" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">CAD キャンバス</h3>- <img src="public/demos/cad.gif" alt="CAD キャンバス" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">PPT キャンバス</h3>- <img src="public/demos/ppt.gif" alt="PPT キャンバス" width="680" />- </div>-</div>+<table>+ <tr><td width="680" align="center"><strong>Flow キャンバス</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/flow.gif?raw=1" alt="Flow キャンバス" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>CAD キャンバス</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/cad.gif?raw=1" alt="CAD キャンバス" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>PPT キャンバス</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/ppt.gif?raw=1" alt="PPT キャンバス" width="680" /></td></tr>+</table>## 動画チュートリアル@@ -137,7 +131,7 @@ npm run build- デプロイガイド: [デプロイガイドを開く](deploy/README.md)+## WeChat 連絡先私の WeChat QR コードはこちらです。お気軽にご連絡ください。diff --git a/README.ko-KR.md b/README.ko-KR.mdindex 11b5a87..ec32266 100644--- a/README.ko-KR.md+++ b/README.ko-KR.md@@ -1,5 +1,5 @@-<p align="center">- <img src="public/logo.png" alt="CanvasAnvil logo" width="100%" />+<p align="center">+ <img src="public/logo.png" alt="CanvasAnvil logo" width="92%" /></p><h1 align="center">CanvasAnvil</h1>@@ -17,26 +17,20 @@ CanvasAnvil은 하나의 요구사항을 반복 가능한 결과물로 전환하## 캔버스 미리보기-<div align="left">- <div style="width: 680px;">- <h3 align="center">Flow 캔버스</h3>- <img src="public/demos/flow.gif" alt="Flow 캔버스" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">CAD 캔버스</h3>- <img src="public/demos/cad.gif" alt="CAD 캔버스" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">PPT 캔버스</h3>- <img src="public/demos/ppt.gif" alt="PPT 캔버스" width="680" />- </div>-</div>+<table>+ <tr><td width="680" align="center"><strong>Flow 캔버스</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/flow.gif?raw=1" alt="Flow 캔버스" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>CAD 캔버스</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/cad.gif?raw=1" alt="CAD 캔버스" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>PPT 캔버스</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/ppt.gif?raw=1" alt="PPT 캔버스" width="680" /></td></tr>+</table>## 동영상 튜토리얼@@ -137,7 +131,7 @@ npm run build- 배포 가이드: [배포 가이드 열기](deploy/README.md)+## 위챗 연락처제 WeChat QR 코드는 아래에 있습니다. 편하게 연락해 주세요.diff --git a/README.md b/README.mdindex d691307..e44681a 100644--- a/README.md+++ b/README.md@@ -1,5 +1,5 @@<p align="center">- <img src="public/logo.png" alt="CanvasAnvil logo" width="100%" />+ <img src="public/logo.png" alt="CanvasAnvil logo" width="92%" /></p><h1 align="center">CanvasAnvil</h1>@@ -17,26 +17,20 @@ CanvasAnvil is a multi-canvas AI creation platform that turns a single requireme## Canvas Previews-<div align="left">- <div style="width: 680px;">- <h3 align="center">Flow Canvas</h3>- <img src="public/demos/flow.gif" alt="Flow canvas" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">CAD Canvas</h3>- <img src="public/demos/cad.gif" alt="CAD canvas" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">PPT Canvas</h3>- <img src="public/demos/ppt.gif" alt="PPT canvas" width="680" />- </div>-</div>+<table>+ <tr><td width="680" align="center"><strong>Flow Canvas</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/flow.gif?raw=1" alt="Flow canvas" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>CAD Canvas</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/cad.gif?raw=1" alt="CAD canvas" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>PPT Canvas</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/ppt.gif?raw=1" alt="PPT canvas" width="680" /></td></tr>+</table>## Video Tutorials@@ -139,7 +133,7 @@ Key improvements:-我的微信二维码如下,欢迎联系我。+Scan my WeChat QR code below to contact me.<p align="left"><img src="public/wechat.jpg" alt="WeChat QR code" width="280" />diff --git a/README.zh-CN.md b/README.zh-CN.mdindex f7153c5..40d3398 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -1,5 +1,5 @@<p align="center">- <img src="public/logo.png" alt="CanvasAnvil logo" width="100%" />+ <img src="public/logo.png" alt="CanvasAnvil logo" width="92%" /></p><h1 align="center">CanvasAnvil</h1>@@ -17,26 +17,20 @@ CanvasAnvil 是一个多画布 AI 创作平台,用一句需求就能完成从## 画布预览-<div align="left">- <div style="width: 680px;">- <h3 align="center">Flow 画布</h3>- <img src="public/demos/flow.gif" alt="Flow 画布" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">CAD 画布</h3>- <img src="public/demos/cad.gif" alt="CAD 画布" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">PPT 画布</h3>- <img src="public/demos/ppt.gif" alt="PPT 画布" width="680" />- </div>-</div>+<table>+ <tr><td width="680" align="center"><strong>Flow 画布</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/flow.gif?raw=1" alt="Flow 画布" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>CAD 画布</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/cad.gif?raw=1" alt="CAD 画布" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>PPT 画布</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/ppt.gif?raw=1" alt="PPT 画布" width="680" /></td></tr>+</table>## 视频教程diff --git a/README.zh-TW.md b/README.zh-TW.mdindex fa30260..154de0b 100644--- a/README.zh-TW.md+++ b/README.zh-TW.md@@ -1,5 +1,5 @@-<p align="center">- <img src="public/logo.png" alt="CanvasAnvil logo" width="100%" />+<p align="center">+ <img src="public/logo.png" alt="CanvasAnvil logo" width="92%" /></p><h1 align="center">CanvasAnvil</h1>@@ -17,26 +17,20 @@ CanvasAnvil 是一個多畫布 AI 創作平台,能把單一需求轉換為可## 畫布預覽-<div align="left">- <div style="width: 680px;">- <h3 align="center">Flow 畫布</h3>- <img src="public/demos/flow.gif" alt="Flow 畫布" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">CAD 畫布</h3>- <img src="public/demos/cad.gif" alt="CAD 畫布" width="680" />- </div>-</div>--<div align="left">- <div style="width: 680px;">- <h3 align="center">PPT 畫布</h3>- <img src="public/demos/ppt.gif" alt="PPT 畫布" width="680" />- </div>-</div>+<table>+ <tr><td width="680" align="center"><strong>Flow 畫布</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/flow.gif?raw=1" alt="Flow 畫布" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>CAD 畫布</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/cad.gif?raw=1" alt="CAD 畫布" width="680" /></td></tr>+</table>++<table>+ <tr><td width="680" align="center"><strong>PPT 畫布</strong></td></tr>+ <tr><td width="680" align="left"><img src="public/demos/ppt.gif?raw=1" alt="PPT 畫布" width="680" /></td></tr>+</table>## 影片教學@@ -137,7 +131,7 @@ npm run build- 部署指南:[開啟部署指南](deploy/README.md)+## 微信我的微信二維碼如下,歡迎聯繫我。