Attribute Wrangle
A VEX-style body: @name = expr; var t = expr; fn f(x) = expr;. Each statement is placed on its own.
Syntax
{ "id": "n1", "op": "wrangle", "name": "wrangle", "x": 0, "y": 0, "params": {} }
An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out".
Inputs
| Port | Type | Takes |
|---|---|---|
in | table | one edge |
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
code | code | "@value = 1.0;" | |
ramp | menu | "viridis" | 37 choices |
Outputs
| Port | Type |
|---|---|
out | table |
Details
- Category: Rows
- Operator:
wrangle