func Render
Render renders the demo for gnoweb.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package disjointsetdemo is a small gnoweb demo of the union-find structure provided by the [p/moul/x/daily/disjointse...
⚠️ Experimental — generated with no human supervision by the daily MCP pipeline to exercise gno tooling. Not audited. See r/moul/x/daily.
Applies a fixed list of merges to [0, 10) and renders the resulting partition.
Demo of the p/moul/x/daily/disjointset
library — every Union/Find comes from the package; this realm holds no
union-find logic. Stateless, so Render is fully deterministic.
The library's Partition is order-independent (groups sorted, ordered by
smallest member), which is exactly why the output can be pinned in an example
test at all.
Built for gno 0.9.
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:

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.
Package disjointsetdemo is a small gnoweb demo of the union-find structure provided by the p/moul/x/daily/disjointset(/p/moul/x/daily/disjointset/v0) library: it merges a fixed list of pairs and shows the resulting partition.
It contains no union-find logic of its own. Stateless, so Render is deterministic — and the library's Partition is order-independent, which is what makes the output safe to pin.