Hi,
Recently I have been working on making the Flowrunner-canvas editor available as a React component (currently just for my own usage, it’s far from stable), and not only that, but I want to be able to provide custom ways of running a flow.
What I’ve shown so far is that flows are run by the editor itself with the node-types provided by the editor environment. I’ve already been experimenting with backend flows, where you can design a flow which has http endpoints and communicate with a the database.
What I’ve been doing today is compile a visual flow to webassembly, live in the browser 🙂 . I already wrote a litte webassembly compiler which runs in the browser, so all I had to do was parse a flow and generate the code that this compiler understands. It’s offcourse still very early stage, and I hope to show some more soon (currently this flow-type only supports variables and expressions, but the compiler has already support for functions, while loops and very basic memory manipulation).
One of the things that I already noticed , is that I need is to be able to have vertical flows instead of just horizontal in the editor 😊.
An image of the above can be seen in the attached thread
I’ll be back with a video soon!
Have a good sunday!
Maikel