NADI Playground
NADI Playground is powered by webassembly. NADI was stripped of many of its desktop oriented features like file IO, plugins, etc and compiled into a version that can run in the web.
NADI playground provides the users with ways to input network, network/node/edge attributes and network visualization along with running nadi code in an web editor. The code is run completely locally in the browser with no server side interaction. Here is the link to NADI Playground.
If you do not want to leave this documentation and still try running nadi codes, use the editor below. This is powered by the same engine but without all the fancy features of a full playground.
# simple expressions
1 + 2
true & false
# function definitions
func add(x, y=0) {x + y}
add(1)
add(1,20)
# load network
net.load_str("
a -> {b, c, d}
{c,d} -> e
e -> {f,g}
")
nodesmap.WEIGHT