Appendix C. Exposed visual function data
Use Functions as Nodes for normal authoring. This reference shows the relationship between the definition and the two-node body described in lesson 38.
{
"name":"award", "label":"Award Workshop Points",
"enabled":true, "entryNodeId":"add",
"parameters":[{"name":"amount","type":"int","default":5}]
}| Body node | Data | Connection |
|---|---|---|
| add: ChangeVariable | name score; operation add; value {"$param":"amount"} | NEXT → result |
| result: Return | value {"$param":"amount"} | No output. |
The definition lives in that script record’s exposedFunctions array. entryNodeId must identify the actual first node. The definition name is the callable function name; the label is the friendly name.
A Call Script Function action selects the definition by its language table, script ID and function name. Use the picker instead of hand-constructing this key while learning.
Definitions are metadata. They do not rewrite a text function’s signature or invent a missing visual node. Disabling exposure hides the definition and makes existing exposed calls skip with a diagnostic until repaired.
