Genome
RSS< Twitter< etc

<< Back to FAQ Index

How Do I Remove An Operator From The Flow?

 

The MagmaFlow editor provides several ways to remove a node:

Delete Node

Pressing the [Del] key on the Numeric Keypad will delete the selected one or more nodes and any wires coming in and out of them. This is very destructive and only advised when deleting unconnected nodes.

Remove Node While Preserving Connections

Pressing the [<--Backspace] key on the top row of the keyboard also deletes the selected one or more nodes, but preserves the first input and first output connections - the node connected to the first input of the deleted node becomes connected to the node connected to the first output of the deleted node. This operation is called "Remove", similar to the 3ds Max differentiation between Deleting a vertex and Removing a vertex in Editable Poly mode.

Disconnect Node From Flow, Keep In Editor

Holding down SHIFT and dragging a node will disconnected it from the flow just like when pressing the  [<--Backspace] key (first input and first output connections will be preserved), but the node will NOT be deleted from the Editor.It can be inserted back into a connection by clicking an existing wire to select it, the holding the [Ctrl] key and clicking the node to add to the selection, then pressing the [SPACEBAR] key to insert. The existing wire will be split and the one node will be connected to the first input socket, the other to the first output socket of the inserted node.

Note that disconnected operators will not be evaluated and can be left around as "building material" while developing the flow. Only unconnected Output nodes will cause an error, but they can be disabled by unchecking the "Enable" checkbox.

Disable Node Temporarily

An operator that has its first input and first output sockets connected to other nodes in the flow can be disabled temporarily by selecting it and pressing Ctrl+[P] (Pass-through), or by unchecking the "Enable" checkbox in the parameters rollout. When disabled, the data will pass through the operator unchanged from the first input to the first output socket. This is only possible where the Data Type of the input and output is the same, e.g. a Multiply operator with first input a Vector and second input a Float will produce a Vector as output. Disabling the operator will stop the multiplication and the Vector value will appear unchanged at the output socket, producing a valid result. On the other hand, the first input socket of a NearestInput operator is InputGeometry, but its first output is Position, so disabling it will produce an error because a Mesh is incompatible value for a Position Vector.

Replace Node

In some cases, the operator might be at the right place in the flow, but could be the wrong type. For example you meant to use Multiply, but you added Add instead. A MagmaFlow node can be switched to any other type of operator by simply selecting the Category and Type in its parameters rollout. Under the hood, an actual "create new operator and replace the old one with it" operation is performed, equivalent to Removing the node using [<--Backspace] and inserting a completely new operator into the existing flow, but with a lot less clicks.