The “if” statement in a codeblock as described ealier would look something like this:
The reason why there are two “outputs” are that two items are passed to the “x” value… 
EDIT:
The (if) codeblock (to the right) works as follows:
Is “a”-input equal to “x” input? If so please pass through the “GraphPass” input.
If not then pass the changed input (or a second input, if this is desired you simply write something different from the first input).
It is possible to extend with more cases like
a == x?
GraphPass:
a < x?
GraphPassLower:
a > x?
GraphPassHighter:
false;
The last statement “false” is the “else” statement if none of the above are true.
