Expand description
Generators for synthetic test documents, invoked as cargo xtask autogen <command>. Output is JSON (blockworx’s document format), or a .bwx.zip
container the web shell’s File ▸ Import takes; the scene is built by
blockworx_doc::fixtures::scale, so the file written here and the scene
the editor’s tests lower in-process cannot drift apart. See
docs/json-format.md for the format.
Structs§
Enums§
- Autogen
Cmd - Form 🔒
- What a destination is written as, told by its extension.
Functions§
- archive 🔒
documentas a packed container: one seeded rev creating all of it, and its projection beside it.- container_
name 🔒 - The container an archive at
outputcarries, named as the web shell’s import names it:scale.bwx.zipcarriesscale.bwx. - pack 🔒
- run
- scale 🔒
- settled 🔒
documentwith its wires’ corners stored, as a document the editor saved carries them — without them, opening it routes every wire.- write 🔒