If you want to use it I am more then happy to help: https://github.com/fibo/flow-view
I am also working on an engine that is able to run javascript code: https://github.com/fibo/dflow
Currently I am working on a rewrite and I will use flow-view to create custom nodes, for example nodes that have a canvas or a graph inside (images a SinOsc node with a graphic preview). The engine is able to order nodes by level and run them usinng the graph order, it is not an event based engine but every graph compiles a JS function.
Thanks for the recommendation though. :)
Relatedly, what are your thoughts on Tone.js?
At present, the sequence of connections for each effect are pre-determined, but I'm working with the idea that a button will flip the synth around so you can patch the units in any order you wish. Another idea is to start with an empty rack and have you add them in and move them around however you wish too, so you could have more than one of each type in the chain. Very much still a work-in-progress!
I'm actually using Tone.js for this project. So far I'm finding it very useful.
The only functionality I’m actually looking for is the ability to connect and disconnect elements using virtual cables (that flex and look good, just like those in rete). It’s for a software synth patchbay (like those used in the Reason digital audio workstation software). So, ultimately, even though this library is impressive, it isn’t quite the right fit for my project.
If anyone can recommend an alternative that focuses purely on cabling, I’d love to hear about it!