Replace all connected output cables at once

Hey guys.

Wouldn’t it save much time if we could replace all the output connected cables from a node in ONE drag instead of reproducing the thing as often as there are connected cables ?

Happens quite often to me. In QC i would add an output splitter and connect the new node to the splinter but that adds an extra splitter which isn’t the best in term of speed.

One way I could imagine this to happen would be by dragging a output cable onto the output port of the node you want to replace (see video below where the magenta “Make color layer” would connect to all the “Render layers to Image” nodes at once by replacing all the old cyan “Make text layer” cables) (Doing “A” would automatically make “B” on the image below).

May be another way of doing this but think this one’s pretty handsome.

What you think ?

AB.png

Opened for voting.

Maybe shift-drag on the original output port could pick up all the cables and let you drag them onto the destination output port?

2 Likes

Yes, this would be fantastic! It would open up options for better testing.

For example, a composition that generates a list of random numbers, but for testing uses a prescribed list of numbers. Moving all the cables coming out of Make Random List to a Share List node is one way to accomplish this, but moving the cables one at a time is a messy endeavour.

Speaking of splitters, I really miss the ability QC has to add input and output splitters with a right mouse click (or equivalent). Vuo needs this to do the above, and other kinds of tricks that saves rewiring time and effort.

Happens quite often to me. In QC i would add an output splitter and connect the new node to the splinter but that adds an extra splitter which isn’t the best in term of speed.

I don’t think splitters in QC or Share Value/List nodes reduce run-time speed in any way, the interpreter(QC) compiler (Vuo) would reduce them out of composition I expect.

I love splitters in QC!

@jstrecker

Maybe shift-drag on the original output port could pick up all the cables and let you drag them onto the destination output port?

Yeah that sounds cool ! Although I guess both could be cool ? shift-drag OR drag another on output port cable to replace ?

1 Like

Hello!
I’m coming from here: https://community.vuo.org/t/-/6811#comment-8478 … where I sometimes want to rewire ONE of the outputs.

How about the following:

  1. If a cable is selected, dragging from the output port will drag the cable end, rather than create a new cable

  2. If multiple cables are selected, dragging from the output port will drag all selected cable ends

  3. If no cables are selected, Shift+dragging from an output port will select and drag all cable ends

  4. Shift dragging in empty space will make a marquee that selects cables, not nodes

I’d also suggest, as part of this, that the visual for a select cable changes to show its ‘sockets’ as well.

sockets@2x.png

For case 3, Shift+Hover over the output port would show this selected state for the cables, to indicate what will happen

This feature does not negate the desire for functionality to insert a splitter, for me.

Sure, let’s expand this feature request to cover dragging an individual cable, a subset of cables, or all cables from an output port, since those actions are closely related.

That covers @Bodysoulspirit’s original feature request as well as @keithlang’s items 1-3.

We may want to use a modifier key other than Shift (we had proposed this earlier and @keithlang ran with it in his comment), since Shift now toggles between dragging a data+event cable and an event-only cable.

Shift dragging in empty space will make a marquee that selects cables, not nodes

Isn’t that already handled by Option-drag?

I’d also suggest, as part of this, that the visual for a select cable changes to show its ‘sockets’ as well.

Not a bad idea, but please make a separate feature request since it pertains to more tasks than just moving output cables.

Looks good, thanks @jmcc

And to answer your q, “Isn’t that already handled by Option-drag?” — Option+drag selects both nodes and cables.