Decision
A Decision element determines an output value from a number of inputs (Input Data or other Decisions).
Semantics
- Dependencies: A Decision reads values from the nodes pointing to it.
- Logic: It applies a Value Expression (Visualized as a Boxed Expression) to these inputs.
- Output: The result is bound to the Decision's variable name, making it available to downstream decisions.
Visual Representation
In a DRD, a Decision is represented by a rectangle.
Execution
The engine evaluates Decisions in topological order (dependencies first).
Inside "Is Adult?", the expression might be:
if Age >= 18 then true else false