Docs
Download

Flow

Branch, repeat and print in the code your nodes run.

Flow nodes (Add › Flow) decide which nodes run, how often, and in what context. They sit on a flow like any other step: link them after an operator's Execute, an event or a function's Run. If/Else and Switch also work in panels and menus, where they choose what to draw.

NodeDoes
If/ElseRuns Then when Condition is true, Else otherwise. In a panel it draws one of the two
SwitchRuns the case whose name matches Value, Default when none does. Add Case on the node adds outputs
RepeatRuns Loop a number of Times, with the Index counting from 0
Break / ContinueInside a loop: Stop Loop leaves it, Next Item skips to the next run
PrintWrites a message to the console, and to the node editor while you develop
Temp OverrideRuns During with a different context: another area, region, active object or selection

To compare values or combine conditions, use Compare, Boolean Math and Invert Boolean (Comparing and logic). To loop over a list or a Blender collection, use For Each (List), or Draw For Each in a panel.