Overview

The Playbook Float node allows users to define a numeric float input constrained by a minimum and maximum value.

🛠️ Node Configuration

Inputs

NameTypeRequiredDefaultDescription
idSTRING“Node ID”Unique identifier for the node.
labelSTRING“Node Label”Label for the node.
minFLOAT0.0Minimum value allowed.
maxFLOAT1.0Maximum value allowed.
default_valueFLOAT0.0Default float value within range.

Outputs

NameTypeDescription
floatFLOATThe generated float value.

⚙️ Functionality

  • Ensures the float output is always within the range [min, max].
  • Uses np.clip to enforce value constraints.
  • If id is not numeric, it falls back to default_value.