README.md
1.20 Kb · 29 lines
gno.land/p/moul/svg/v0
Minimalist, extensible SVG generation library for Gno.
The canvas style map is backed by
gno.land/p/nt/bptree/v0: a B+ tree packs
many entries per persisted node, so styles cost less storage and inserts spend
less gas than an AVL backing would.
Compatibility caveats (from the in-place-mutating B+ tree backing):
- do not call
AddStylefrom inside aCanvas.String/Renderiteration; - do not copy a non-zero
Canvasby value once styles have been added — the copies would share live tree nodes.
Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.
Dependency graph:

⚠️ Disclaimer: provided as-is, without warranty; not security-audited. Full disclaimer: DISCLAIMER.