LIA StudioLIA Studio
Documentation
⌘K
Back to the IDE
DocsConceptsNodes and pins

Nodes and pins

Nodes are the fundamental building blocks of a flow in LIA. Each node represents an action, event, or data transformation.

Anatomy of a node

Every node has a header with its icon, name and category color, and up to two columns of pins: inputs on the left, outputs on the right.

  • Execution pins (white triangle) mark the order in which things happen — they're the equivalent of control flow in an imperative language.
  • Data pins (colored circle) carry a value. The color identifies the type (Boolean, Integer, Float, String, Object, generic Array, …) and is consistent across the whole editor: the same color is always the same type. A typed array (String[], Object[], …) is drawn with the [ ] glyph in the color of its element type, not the array itself.
  • Some nodes have no execution pins at all: they're pure nodes (math, getters, comparisons). They're recalculated on demand every time something downstream asks for their value, instead of running at a fixed point in the flow.
  • Right-clicking a node opens a menu with contextual actions: enable/disable, breakpoint, compact/expand, collapse selection, add comment, and "Promote to variable" for each of its data outputs.
Node Name
Exec
Exec
Input A
Input B
Output
Header: color indicates the category
Execution pin: controls flow
Data pin: carries typed values
Array pin: list of values ([ ] glyph)

Node categories

Every node belongs to a category that determines its color and general purpose:

EventFlow entry points
FlowFlow control (loops, branches)
FunctionFunctions and sub-graphs
VariableReading/writing variables
ActionActions on the system
MathNumeric operations
LogicComparisons and booleans
StringText manipulation
ArrayOperations on lists
DataJSON and objects
Documentation — LIA | LIA Studio