To be fair though you can create sub-flows to have it more compact but when I designed it, I didn't know about theseyet
I use node-red for the same kind of things, with subflows. At some point it makes a lot more sense to write a function node (javascript) than to use node-red as intended. Avoids a lot of the spaghetti.