While

 
 
 

Categories

  • Execution

Description

Repeat the input tree while the condition is true. Before each iteration the condition port is evaluated. If the condition is true, the input graph is then executed. Otherwise the iteration stops.

You can also specify a limit to the number of iterations in the Max Repeat port in order to avoid repeating the iterations indefinitely when the condition is always true.

Ports

Inputs

Condition

The input tree executes while the value of this port is true.

Max Repeat

The maximum number of iterations in order to avoid infinite loops.

Port

The tree connected in this port is executed repeatedly.

Outputs

Execute

Output port to connect to execute the node.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License