Canvas-based tree layout for Calcit
calcit.cirru.
- Explainations for demo https://www.bilibili.com/video/BV1z3411J76p
- Demos https://www.bilibili.com/video/BV1tq4y1a7bB https://www.bilibili.com/video/BV16a411i7aq
Mocked example(with fake API) http://repo.cirru.org/hovenia-editor/?mocked=true .
Install dependencies in the Hovenia checkout with Calcit/procs 0.27.0, Node 24 and Yarn 4.18.0:
caps --ci
yarn install --immutableThen launch the HTTP server from the directory containing the project you want to edit. Use the absolute path to Hovenia's canonical snapshot:
calcit /absolute/path/to/hovenia-editor/calcit.cirru --entry serverThe existing server reads/writes the edited project's calcit.cirru and writes
its incremental .calcit-inc.cirru; its code and protocol are unchanged here.
Maintain only canonical calcit.cirru / deps.cirru in Hovenia itself.
Use Web UI from http://repo.cirru.org/hovenia-editor/ .
In the command box:
add-ns a.brm-ns a.badd-def a.b crm-def a.b cloadsavemv-ns from tomv-def from/a to/bpickorpick offfor turning on/off picker modedeps-treefor loading dependency graphdeps-offor deps of a single definitioncall-treefor a sunburst graph for deps
yarn dev compiles initially and starts Vite. For live Calcit edits, run
calcit calcit.cirru js -w in another terminal. Build/release compile once;
no extra process manager or npm dependency is needed.
CI keeps strict frontend entry/all-public checks, the existing server public
contract check and actual frontend build. Repeated diagnostic reports are removed
without a new verifier or test suite. Vite and COS action v1.2.0 share the
frontend base: production Cirru/hovenia-editor/, preview
pr/<number>/<run-id>/<attempt>/. Per-PR and separate production concurrency
does not cancel active uploads; queue: max retains pending runs as well. The
action is pinned to the reviewed release commit and handles upload/public
verification through the existing public-base-url, without another script.
The original upload policy and server dist/* source/destination remain; COS
only handles frontend resources, not the native editor server. Snapshot, editor
and server code are unchanged. PR success is not production/editor acceptance.
This workflow update retains Calcit/procs 0.27.0 and the existing non-strict
Caps resolution policy; it does not certify a completed 0.28 source migration
or a conflict-free strict dependency graph.
Workflow https://github.com/Phlox-GL/phlox-workflow
MIT
