Using subgraph to collect common data into virtual "ribbon" cables

For larger projects I have been using pass through subgraphs (input direct to output) to form a sort of virtual ribbon cable for data signals. I expect there is a tiny overhead/inefficiency in using the subgraph but the overhead is minimal compared to the clarity it can bring when graphing out large projects. The signals pass even when the ribbon subgraph is bypassed so that might be even more efficient? Not sure, need internal timing details to know that. @MarioNietoWorld

Example subgraph:

Yes there is an overhead, you won’t notice it a lot in Mnode it self on the Audio CPU or at Node CPU level but the overhead is low. i have tested and on windows, with the task manager you will notice with 128 of them there will be a ~2% added. but since it throttle’s a lot its hard to give exact values.

So it depends if you want to to 512 of them, then you could expect ~10%

But i myself, for maintaining a good design i use a lot of send and receive wires so i do not need to extent on long ranges. i mean, my first implementation in my first project i did this:

But i don’t do this anymore because there more visual lines you add, the slower it will get.

So i now use a lot of send/receive wires. keeps working in MNode more enjoyable if you do larger contents inside one module.

|

Together with color coding what are inputs(green) and outputs(red) it makes it a lot readable and better to work with from my experience.

I mean a lot of my modules in this screen work with send/recieve wires so i do not need to have to connect them with hundreds of visual wires :

Very cool. Thanks for the insight @Danny. I considered using send/receive instead of wires but was concerned that I could lose track of what signals go where :slightly_smiling_face: … will give it a try though and would expect with practice to get better at keeping things organized.

I presume the CPU cost for a single cable would be about the same (or exactly the same) as the cost for a single send/receive pair .. agreed?

I think so, I mean having wires connected visually does not have to mean that the method differs for them.

Of course, I think with designing something you need to create a workflow that you can make it your own. Using repeatingly the same style, pin / wire naming, color coding, comments and framing adds up to your skills to quickly know where you at, what you have done and even use comments to write down what you want to do/fix.

I think if your project is really getting huge then even this pass node subgraphs will not help you out on a larger scale.

But never the less there might be a good use case to request pass nodes to have multiple connection.