Skip to content

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.

422 B
Raw Blame
import { createWorkspaceStore } from "@/shared/storage/indexed-db-store";

/** Database name is load-bearing: changing it orphans everything users saved. */
export const canvasStore = createWorkspaceStore("CanvasAnvilCanvasWorkspaceDB");

export const CANVAS_SCENE_KEY = "scene";
/** Pictures the chat shows that never went onto the board (the annotation previews). */
export const CANVAS_CHAT_IMAGES_KEY = "chat-images";