An online graph board for the ZXW calculus live at zxwgraphboard.netlify.app. ZXW calculus is a specific kind of tensor network that can represent complex linear algebraic computations in diagrams. Users place vertices, wire them with edges, and compute the tensor the diagram represents via a Rust/WASM backend. The app is client-side only.
- User guides + dev docs available at: zxwgraphboard-doc.netlify.app
(source: the
doc/zxw-graphboard-docgit submodule). - Operating manual for this repo:
AGENTS.md— commands, layout, architecture invariants, persistence rules. - Compute-backend design:
doc/plans.md— the contract for the Rust compute layer; its status block at the top says which phases have landed.
pnpm dev— dev server (Next.js).pnpm test— frontend tests (vitest).cargo test— Rust compute-layer tests (cargo llvm-cov --workspacefor coverage).pnpm ping:wasm— quick smoke test of the WASM pipeline.
pnpm build:wasm— build the Rust backend viawasm-pack(scripts/build-wasm.sh). Run beforepnpm buildand after any Rust change. Output lands inpublic/wasm/zxw/(gitignored).pnpm build— build the frontend into.next/.
Manual Netlify deploy: pnx netlify deploy --prod
(pnx = pnpm exec; --prod = production). netlify.toml runs
build:wasm + build before uploading .next/; the wasm binaries are
never committed.
- Two git submodules:
doc/zxw-graphboard-doc(docs site) andcrates/cartographer(treewidth research CLI, kept for planned later integration). - Two Rust crates in the root Cargo workspace;
default-memberskeepscargo teston thezxwcompute crate.