If I have a node connected to 3 other nodes using 10 cables, duplicating this node without to have to reconnect all the cables could be handy !?!
personally I would keep it modal rather than adding adding a Menu Item on/off setting. But both would be ok I suppose.
I would default to copying the cables as well as the node rather than defaulting to no cables, so â„ Drag/â D for with cables â and â„⧠Drag/â⧠D for without cables.
Refreshing this âcable behaviorâ branch, with a couple more (or are any of these already possible?)
Be nice to:
- yes to option-shift-drag to keep all input connections.
- instead of 1) click to select cable, 2) delete, then 3) connect to some other port, nice to be able to use one mouse down drag to grab connected cable(s) at port, disconnect and attach to a new port.
- drag a box around multiple cables and hit delete to disconnect (with undo/redo). Â
Point 2, not sure I understand, if you want to reconnect an already connected cable, you can select that cable at the input port where the cable is connected, drag it and connect it somewhere else, without having to delete it first ?
Or you mean you wanna be able to do that on connected output ports rather than input ports ? If yes, thatâs a suggestion by Jaymie on âReplace all connected output cables at onceâ
Point 3, you can in Vuo 2 beta select cables + nodes by holding option+click drag (default click drag only select nodes). Or you mean youâd wanna select cables only ? If yes, create a separate feature I guess, too different from this one.
To recap the functionality that would be added by this FR: Duplicating a node would create a new node with all of the same cable connections to its input ports (with the other end of each cable connected to the same output port as the original node). This FR only covers creating incoming cable connections, since thereâs not one obvious solution for outgoing cables.
I would default to copying the cables as well as the node rather than defaulting to no cables
Why? because itâs much faster to â„
+ Drag node with mouse
and then select with a marquee any undesired cables auto-connected from the original node and then hit delete
than it is to â„
+ Drag node with mouse
and then rewire the very same cables the original node has to its input ports.
I had situations in QC which might not be relevant where I was dragging sub-comp (macro) patches with dozens of input cable and repeating them ten or more times. Rewiring all that is like 5-10 minutes of meaningless work that can be avoided. Iâm pretty sure Iâve FR this before for VUO, maybe I didnât make it as a seperate FR but included in drag copy FR? To me this is designer/3D/visual programming 101 to include all the selected parts who you drag a copy of something.
If we wanted to get really smarty pants we could have it so that when you marquee the node for selection, only those ports that were within the domain of the marquee get their cables auto-connected to the same outputs as the original node. Currently ports donât âselectâ when clicked or âmarqueedâ but Vuo could take a note under the hood incase a copy is dragged or menu commanded. But Iâd just default to copy the lot and people can delete the cables they donât want quick smart.
One approach could be:
-select a node on editor by clicking on it with mouse, duplicate or cut and paste, no ânoodlesâ are duplicated.
-click and drag a bounding box on the editor surface, with the bounding box encompassing node and noodles. Duplicate, cut and paste, etc., then handle the noodles as additional objects that are part of the selection.
I think I understand, itâs a good division of intentions with click and command (copy/paste/duplicate) (no cables) vs drag a marquee and then drag node(s) or commands (duplicate etc) (includes cables).
by âclick and drag a bounding box on the editor surface, with the bounding box encompassing node and noodlesâ is that the same things as what Iâm describing with the word marquee
(not sure if thatâs Mac or Adobe terminology but itâs very old)?
What about the more simple case of click and drag with the option key down (so as one âmouse actionâ + a modifier key held down at same time)? I think that should include the cables by default. If necessary put something in the references to flip the default. how does that sound? Â
Yes, I guess I am suggesting marquee type selection metaphor to select node + noodles.
It seems to me that if I select just a node and hold option, I expect just the node to duplicate.
If it is changed so that input connections duplicate without being selected themselves, it seems like there is some kind of functionality lost. If input connections duplicate while output does not, it seems as though there is a kind of inconsistency.
It seems less discoverable to change to an approach like this. Whereas a user doing something to also select the incoming connection noodles, does seem intuitive and discoverableâŠthen they might also think to option+click to duplicate once all of it has been selected.
All of this said, I donât have the strongest feelings in the world about any of it. If duplicating noodles became default, well, when you have selected a node on the editor the library switches to showing itâŠultimately making it easy to create another instance that way.
That makes sense to me, @George_Toledo. As long as we can do it âwith the cables along for the rideâ one way or another with some kind of drag interaction on the canvas â well thatâs the main substance of this FR (I assume as itâs in the title!). Â
Not sure default ââ„ Dragâ should come with cables or not.
I feel that ââ„ Dragâ for nodes only and ââ„⧠Dragâ with cables echoes more the overall default behaviour, otherwise itâs a more complicated shortcut, for a simpler operation, doesnât seem logic.
But I donât really care, if I have to copy/paste for node only and ââ„ Dragâ for cables too, I could get used to it, but not sure for new users.
That being said, copy with some selected cables only sounds good too.
-
â„ Drag
to Copy node only. - No incoming cables selected :
â„⧠Drag
to Copy node with all incoming cables. - Some incoming cables selected :
â„⧠Drag
to Copy node with selected incoming cables only. Â