{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "weike-zhang-architecture-canvas--try-diagram-editor-offline-without-api-key",
 "repo": "weike-zhang/architecture-canvas",
 "repo_url": "https://github.com/weike-zhang/architecture-canvas",
 "repo_slug": "weike-zhang-architecture-canvas",
 "title": "Edit and export a sample architecture diagram with no API key",
 "page_title": "How to edit and export a sample architecture diagram with no API key with Architecture Canvas",
 "summary": "Load the bundled demo session and drag, relabel, and export a diagram without any model settings.",
 "who": "A developer or architect who wants to evaluate the canvas editor and export quality before paying for or configuring a model service.",
 "problem": "You want to judge the diagram editor and its exports before wiring up a model provider or uploading any company material.",
 "outcome": "An edited sample diagram exported as SVG or PNG, produced entirely on your machine with no model call.",
 "steps": [
  "Run `git clone https://github.com/weike-zhang/architecture-canvas.git` and then `cd architecture-canvas`.",
  "Run `python3 start.py` to set up the environment and build the page, then open http://127.0.0.1:5093.",
  "Run `python3 demo.py --output demo-session.json` to 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."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/weike-zhang-architecture-canvas/try-diagram-editor-offline-without-api-key/",
 "md": "https://dedupedai.com/use-cases/weike-zhang-architecture-canvas/try-diagram-editor-offline-without-api-key/index.md",
 "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 hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/weike-zhang-architecture-canvas--try-diagram-editor-offline-without-api-key.json",
 "api_version": "v1"
}
