FlowDSL Node Catalog
Math
Apply an arithmetic operation over one or two numeric fields.
Overview
| Property | Value |
|---|---|
| Node ID | core/math |
| Kind | transform |
| Module | core-flowdsl |
| Repo | go-flowdsl |
| Handler | github.com/redelay/go-flowdsl/nodes/core.Math |
| Icon | lucide:calculator |
| Color | #8b5cf6 |
| Tags | math, transform |
Outputs
out— (no description)
Settings
| Property | Type | Required | Default | UI Group | Description |
|---|---|---|---|---|---|
aConst | number | — | — | — | Constant used if aPath is empty. |
aPath | string | — | — | — | Dotted path to operand A. |
bConst | number | — | — | — | |
bPath | string | — | — | — | Dotted path to operand B (required for binary ops). |
op | string (add|sub|mul|div|…) | yes | add | — | |
outputKey | string | yes | result | — |
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: transform
action_ref: core/math
config:
aConst: 1.0
aPath: some.packet.path
bConst: 1.0
bPath: some.packet.path
op: add
outputKey: result