Simple trick for “swapping” out nodes

Hi @iCFO , that sounds like a useful tip, but when you say “swap out a node”, do you mean replace an existing node on the workflow with a different node (e.g. from the palette ) whilst keeping the node connections intact?

If so, it was only recently that I discovered you can do this using drag and drop… a very specific drag and drop.

Say I have the following:

and I want to replace the central String Manipulation node with a String to Number node.

I find the String to Number node in the Node repository:

Then drag it onto the String Manipulation node.

image

At the exact point that I have dragged onto the String Manipulation node, the node’s colour “inverts”

image

When it is in this altered-state, I drop the replacement node…

and KNIME swaps the nodes whilst retaining connections :slight_smile:

6 Likes