Realm

v0:cycle

gno.land/r/moul/x/daily/toposortdemo/v0:cycle

Render

Topological Sort

Ordering a dependency graph so nothing is built before what it needs, demoing the p/moul/x/daily/toposort library.

A graph with a cycle

auth <- session
server <- auth
session <- auth

Sort returns an error: toposort: graph has a cycle

Ordered before giving up: nothing

Stuck on the cycle: auth, server, session

The nodes still stuck are named rather than silently dropped, so a caller can report exactly which dependencies are tangled.

Transactions

No indexed transactions for this realm yet.

Calls, deploys, and child packages in indexed history.

Call function

Calls stay disabled until vm/qfuncs lists this package. Delve only submits functions the chain publishes for gno.land/r/moul/x/daily/toposortdemo/v0.

Source (qfile)