Render
Render renders the demo for gnoweb.
Example
1Render("") / Render("/") -> the full demo
Command
gnokey query vm/qeval -remote "tcp://127.0.0.1:18899" -data "gno.land/r/moul/x/daily/dijkstrademo/v0.Render()"
Result
Package dijkstrademo is a small gnoweb demo of the shortest-path search provided by the p/moul/x/daily/dijkstra(/p/moul/x/daily/dijkstra/v0) library: the cheapest route to every node, the order the search settles them in, and the tie-break that makes both reproducible.
It contains no search logic of its own. Stateless, so Render is deterministic: every figure below comes from the fixed graphs declared at the top of this file, never from chain state, which is what lets an example test pin the page.
Render renders the demo for gnoweb.
1Render("") / Render("/") -> the full demo
gnokey query vm/qeval -remote "tcp://127.0.0.1:18899" -data "gno.land/r/moul/x/daily/dijkstrademo/v0.Render()"
Evaluate any read-only Gno expression against gno.land/r/moul/x/daily/dijkstrademo/v0, for example a function call with arguments.
// Enter an expression above