Skip to main content

module salix::mermaid::Demo

rascal-0.40.17
salix-contrib-0.2.7

Usage

import salix::mermaid::Demo;

Source code

http://github.com/usethesource/salix-contrib/src/main/rascal/salix/mermaid/Demo.rsc

Dependencies

import salix::App;
import salix::Index;
import salix::Core;
import salix::HTML;
import salix::mermaid::ClassDiagram;
import salix::mermaid::FlowChart;

alias Model

bool

function init

Model init()

function classDiagramApp

SalixApp[Model] classDiagramApp(str id = "alien")

function classDiagramWebApp

App[Model] classDiagramWebApp()

function flowChartApp

SalixApp[Model] flowChartApp(str id = "alien")

function flowChartWebApp

App[Model] flowChartWebApp()

data Msg

data Msg  
= doIt()
;

function update

Model update(Msg msg, Model m)

function flView

void flView(Model m)

function cdView

void cdView(Model m)