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.
CanvasAnvil
AI-powered multi-canvas creation for diagrams, interior design, presentations and images.
Canvases | PPT Showcase | Video Tutorial | Skills | Quick Start | Chinese
https://github.com/user-attachments/assets/582c70ae-38df-4949-913c-c3f4369a7c8c
⭐ If CanvasAnvil helps your workflow, please star the repo and fork it for your own canvas experiments.
CanvasAnvil brings diagramming, interior design, presentation production and free-form image work into one workspace, in Chinese or English.
🔷 Diagram Canvas
Turn structured prompts into clear diagrams for research, systems, delivery plans, and teaching maps, then keep refining layout, labels, and node relationships in one place.
Showcase
![]() Academic Research Framework |
![]() Intelligent Q&A System Architecture |
![]() Project Implementation Roadmap |
![]() Course Design Mind Map |
🏠 Interior Design Canvas
Move from concept framing to drawable outputs by combining planning boards, 2D layouts, render briefs, and material-list delivery in one workflow.
Showcase
![]() Renovation Plan Layout |
![]() Floor Finish Plan |
![]() Reflected Ceiling Plan |
![]() Wall Setting-Out Plan |
![]() MEP Coordination Plan |
![]() Elevation Index + Interior Elevations |
![]() Detail Drawings |
📑 PPT Canvas
Generate full presentations through a controlled pipeline: outline first, visual production second, then export as PDF or image-based PPT. The deck template sets the style and colour palette; each slide gets a layout of its own.
Showcase
AI Content Creation Workflow
|
Intelligent Collaboration Growth
|
AI-Driven Business Innovation
|
Low-Carbon Smart Campus Transformation
|
🖌️ Free Canvas
A whiteboard for images: describe a picture in one sentence and it lands on the board. Circle what to change, write a note beside it, press the wand, and a new version appears next to the original. Every version is kept, and the version strip shows what each one changed and when.
Showcase
An Image from One Sentence |
Mark It Up on the Board |
A New Version from the Marks |
Compare the Versions |
🎨 Creative Canvases
| Workspace | Focus | Typical output |
|---|---|---|
Diagram |
structured diagram generation and partial editing | flowcharts, architecture diagrams, logic diagrams |
Interior Design |
interior planning, drawing coordination, and delivery packaging | concept boards, 2D drawings, render briefs, material lists |
PPT |
structured presentation generation and export | presentations, pitch decks, report slides |
Free Canvas |
text-to-image and edit-by-annotation on a whiteboard | posters, illustrations, revised versions of an image |
🌐 Online Access
Current online access URL:
- 🔗 CanvasAnvil: https://canvasanvil.codingfgd.asia
Video Tutorial
One walkthrough per canvas on Bilibili (narrated in Chinese). In the app, the Tutorials button at the top of the home page plays them in place.
🧰 Skills
CanvasAnvil includes dedicated local skills for each canvas so workflows stay opinionated, repeatable, and easier to maintain.
diagram-skill· Diagram generation and packaging Outputs clean diagram assets and skips standalone HTML preview by default.cad-skill· Interior-delivery workflow Exports drawing bundles and a CSV material list for downstream delivery.ppt-skill· Full presentation production Enforces outline review before generation and supports editable PPT, PDF, and image-based PPT output.
All skills use the host text model by default. Only image generation requires explicit provider configuration.
🚀 Quick Start
- Install dependencies
npm install
- Start local development
npm run dev
Default URL: http://127.0.0.1:8001
CanvasAnvil deploys as a single service. See deploy/README.md for detailed deployment configuration.
- Run type checks
npm run check
- Build for production
npm run build
🧪 Common Commands
npm run dev: start the app on8001npm run check: run TypeScript checksnpm run lint: run ESLintnpm test: run the test suitenpm run build: build the production bundle
📝 Development Notes
- Every model call uses the OpenAI HTTP protocol. To use another vendor, point the base URL in Settings at their OpenAI-compatible endpoint — there is no provider list to pick from.
- AI configuration is read from local app settings; the text and image channels are configured separately.
- Local development depends on the API service for
/api/chatand/api/ppt-ai. - After changing local API route wiring in
vite.config.ts, restart the dev server. server/**uses relative imports:vite.config.tsimports the dev middleware sonpm run devserves the API in-process, and Vite loads its own config through plain Node, which does not know the@/alias.- Set
PROMPT_LOG_DIRto write assembled prompts to disk; it is off by default because the log contains the user's content.
📚 Docs
- Architecture overview: docs/architecture.md
- Handoff notes (Chinese): docs/HANDOFF.md
- Deployment guide: deploy/README.md
⚖️ License
CanvasAnvil is released under the MIT License. See LICENSE for the full license text.











AI Content Creation Workflow
Intelligent Collaboration Growth
AI-Driven Business Innovation
Low-Carbon Smart Campus Transformation



