Loop Count Annotator

Displays the current iteration count within a loop, along with the maxIterations if known. It outputs to the node label the value of currentIteration, but also puts it in "real" (human) form currentIteration+1, since currentIteration is 0-based.

This then enables output of a more meaningful "real" iteration count relative to maxIterations, as maxIterations is the total number of physical iterations, and works best when displayed using a 1-based (real) iteration count.

This component uses the "Node Annotator" node, available from NodePit - you must install the extension "NodePit Power Nodes" to use this component

@takbb Brian Bates 28 May 2024

Input Ports

Icon
Flow variable from loop

Output Ports

Icon
Flow variable for loop

Nodes

Extensions

Links