Control

This section describes operators belonging to the Control category.

This page discusses:

Dispatch

This node is an output selector. This node allows to manage alternatives in the graph: based on an index or a boolean, this node dispatches some inputs in a given output. You can the recombine graph results with End Dispatch node.

Inputs

Name Type Description
In —
Index Integer —

Outputs

Name Type Description
Val —

End Dispatch

This node is an input selector. Combines several inputs in an output : the goal is to be able to recombine graphs results when a condition has been used. Some graph inputs contain structures that contain only empty values and some of the inputs contain the actual result.

Inputs

Name Type Description
Integer —
Val —

Outputs

Name Type Description
Out —

Equal

Returns true if a is equal to b, false instead.

Inputs

Name Type Description
A —
B —
Mode Integer Compare values or objects.

Outputs

Name Type Description
Result Boolean —

If Then Else

Selects the whole THEN or ELSE input value, regarding a TRUE/FALSE condition. To make correspond a list of booleans with a list of results and get 1-1 associations, modify the dimension of THEN and ELSE inputs to "0".

Inputs

Name Type Description
Condition Boolean TRUE or FALSE. If a list is given to get 1-1 associations, modify the dimension of THEN and ELSE inputs to "0".
Then Input returned if condition is TRUE.
Else Input returned if condition is FALSE.

Outputs

Name Type Description
Out Value of THEN or ELSE input.

Inferior

Returns true if a is less than b, false instead.

Inputs

Name Type Description
A —
B —

Outputs

Name Type Description
Result Boolean —

Inferior Or Equal

Returns true if a is less or equal to b, false instead.

Inputs

Name Type Description
A —
B —

Outputs

Name Type Description
Result Boolean —

Is Empty

Cheks if a value is an empty one or if a list is empty.

Inputs

Name Type Description
Values List —
Mode Integer Choose to detect empty values or empty lists. A list is empty only if its size is 0. A list containing empty values is not empty.

Outputs

Name Type Description
Result List —

Is Error

Checks if a value is an error value.

Inputs

Name Type Description
Values List —

Outputs

Name Type Description
Result List —

Loop Accumulator

Accumulates the results of each iteration of a loop.

Inputs

Name Type Description
Idx Integer To connect to current iteration index from Loop Start.
List The list to accumulate.

Outputs

Name Type Description
Output List —

Loop End

Defines where the loop ends. If stop is true, it just end the loop and enable the global update to continue. If stop is false, it copies its input values to Start Loop node outputs and the loop continues.

Inputs

Name Type Description
Iteration Integer Current iteration. This input must be connected to corresponding output of the Loop Start operator.
Stop Boolean Stops the loop if true. Use it to connect your stop condition.
Value Value to provide as input for next iteration.

Loop Start

The 'Loop Start' operator initializes a recursive or sequential processing loop. It is designed exclusively to repeat a function subgraph a set number of times (or until a stopping condition is met) by feeding the output of iteration 't' back as the input for iteration 't+1'. WARNING: When NOT to Use Do NEVER use 'Loop Start' to iterate through a list, apply a function to each element of a collection, or filter data. The engine automatically handles all these operations in an implicit, vectorized manner. Valid Use Cases (When to Use) Using 'Loop Start' is valid only if both of the following conditions are met: 1. Time/State Dependency: The computation at step N strictly requires the output generated at step N-1. 2. Recurrence / Accumulation: The execution count is dynamic or independent of the size of the input data. Example Use Cases * Fractals and L-Systems: Repeat a geometric transformation X times on the previous result. * Physics Algorithms / Simulations: Recalculate a position at t+1 based on the position at t. * Convergence / Iterative Processes: Apply a transformation repeatedly until an error threshold is reached.

Inputs

Name Type Description
Start Iteration Integer Iteration to start the loop from.
Max Iteration Integer Maximum number of iteration for the loop.
Value Value to initialize the corresponding ouput at first iteration.

Outputs

Name Type Description
Iteration Integer Current iteration number.

Select

Selects an input among several ones.

Inputs

Name Type Description
Index Integer Indice of the input to be selected.
Item Several inputs.

Outputs

Name Type Description
Out Input with index 'idx'.

Superior

Returns true if a is more than b, false instead.

Inputs

Name Type Description
A —
B —

Outputs

Name Type Description
Result Boolean —

Superior Or Equal

Returns true if a is more or equal to b, false instead.

Inputs

Name Type Description
A —
B —

Outputs

Name Type Description
Result Boolean —