Updates on the node tool!

Changed the theme and rewrote the implementation for the svg lines that connect the nodes together. This was a gigantic performance boost. The way I had set it up before was that for each mutation on any of the lines would re-render every single one of those lines. Not only that, it was also leaking memory because all the old svg line elements weren't correctly disposed. Anyways all that is fixed now and memory is at a steady 20-30mb.

Functions work now! This was a funky exercise to figure out how to make work. But they work now!

A function declaration node will follow all the nodes it connects to till it finds a return node. Then it will create a virtual system for all the tracked nodes and export it as a function closure. Whenever this function is applied, it will just use that function and see what data flows into the return node and just return that data.

Text updates when you change it :)

Here is how the variables work.

And you can still position stuff

What I think I need to work on now is making all the nodes visually different than one another so the navigability is easier and you can find what needs to be found.

I need to add a sidebar/property editor also, just so each node can expose more data that its tiny UI can show.

And finally searching through nodes and finding them in someway?