design-automation / mobius-parametric-modeller

Möbius for parametric modelling.
https://design-automation.github.io/mobius-parametric-modeller/
MIT License
10 stars 6 forks source link

headless mobius #624

Open phtj opened 4 years ago

phtj commented 4 years ago

Create a new repo that will be a headless version of mobius

This will be a version that executes the flowcharts using nodejs, not the browser

There would be an execute(flowchart) function

The return value from executing a flowchart would be { print=..., return_value= ..., data=... }

The code would be similar to the grader, but just without the grading part

The code should be published on npm

The "save as js" function in mobius should "require" the mobius headless npm