[Request] Rick clicking a node to swap it with a node of same parameters and return values

More specifically, being able to right click nodes like integer + integer and swap it with an integer - integer, or right clicking a less than node and being able to swap it with less than or equal too or not equal to.

With these operations, its very common to want to switch from one to another when trying to create algorithms and formulas, so, instead of deleting the integer + integer node, then adding an integer - integer node, you can just right click integer + integer then, in the context menu, there is a swap dialog as such:

>Swap with Node
    > integer - integer
    > integer * integer
    > integer / integer
    > ...

And same with the bolean inequalities, and logical gates.

Use the Math Expression Node for things like that, specificly designed to math formulas quickly.

For any other node types its highly unlikely since not only parameter types are important but also the order. Would not make much sense to swapping to nodes that doe something entirly diffrent.

Im talking about every other Node :stuck_out_tongue_winking_eye: not the Math Nodes. For that you got the math expression Node thats way simpler to use than rightclick and searching for the correct opperator to replace with.

Well of course the order stays the same, and not entirely different. They are all still very much similar.

And its also a matter of using expressions, its like when you use a greater than node then realize it should’ve been a less than, so it would just be a quicker way to swap nodes that you tend to because they are used in the same place.

Using your idea means using a Math Expression for every logical gate, or inequality test, on the off chance you want to switch up the operation, which would look horrible and completely obscure the code.

Hm, but its not as clean and obvious what its doing. Not as obvious as having the big compact node showing the operation. There’s no way to make a compact node out of collapsed nodes and Math Expressions, are there?

How can it not be obvious? You literally type the formula out and having everything in front of you without scolling all over the place. It even errors out if you make a mistake but keeps everything intact to further edit :stuck_out_tongue_winking_eye:

Cant really get easier than that

and if you want to look at classical nodes doubleclick the node. It will show you what its generated.

This isn’t at all what I’m talking about.
Which node is easier to read at a glance. You can even zoom out when you look at it and see how its so much easier to tell at a glance what the bottom is doing. And double clicking to see inside ruins this whole idea of “looking at a glance.” Its not some complicated algorithm either, its just a single operation. Its simply more readable than math expressions and that is a simple, indisputable fact.

So yes, it can really get easier than that.

139689-nodes.png