module salix::cytoscape::Demo
rascal-0.40.17
salix-contrib-0.2.7
Usage
import salix::cytoscape::Demo;
Source code
http://github.com/usethesource/salix-contrib/src/main/rascal/salix/cytoscape/Demo.rsc
Dependencies
import salix::cytoscape::Cytoscape;
import salix::App;
import salix::Core;
import salix::HTML;
import salix::Index;
import Set;
import IO;
import util::Math;
alias Model
rel[str, str]
function init
Model init()
function cytoApp
SalixApp[Model] cytoApp(str id = "alien")
function cytoWebApp
App[Model] cytoWebApp()
data Msg
data Msg
= changeIt()
| myTap(str n)
;
function update
Model update(Msg msg, Model m)
function view
void view(Model m)