Who it is forA developer or architect who wants to evaluate the canvas editor and export quality before paying for or configuring a model service.
The problemYou want to judge the diagram editor and its exports before wiring up a model provider or uploading any company material.
The outcomeAn edited sample diagram exported as SVG or PNG, produced entirely on your machine with no model call.
What you need first
- Python 3.10+, Node.js 22.12+, and npm installed on your machine
- A model service with a Chat Completions compatible API that supports tool calling, plus its API key, for chat, generation, and document understanding
- A vision-capable model if you want to send images to the assistant
Steps
- Run
git clone https://github.com/weike-zhang/architecture-canvas.gitand thencd architecture-canvas. - Run
python3 start.pyto set up the environment and build the page, then open http://127.0.0.1:5093. - Run
python3 demo.py --output demo-session.jsonto create the sample session file. - In the page, open 上下文 and choose 导入会话备份, then select demo-session.json.
- Drag the modules, edit the text, and export the result as SVG or PNG.
Prompt for your agent
Using the architecture-canvas repo at https://github.com/weike-zhang/architecture-canvas, run python3 demo.py --output demo-session.json, import that file into the local page, and export the diagram as SVG. Expected output: an SVG file of the sample knowledge assistant diagram. Verify that the file opens offline and that no model or search request was made.
Caveat. The demo structure is hand-written as a knowledge assistant example and the README states it does not call a model or search, so it only shows editing and export.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page