Structure node

Make Structure

Build an indexed structure (array) from multiple input values. Each connected input is automatically assigned a sequential index starting from zero. New input ports appear dynamically as you connect values, making it easy to assemble ordered collections of any size.

Outputs

PortType
Structurestructure
Lengthint

Screenshots

Structure Family Nodes
Structure Family Nodes

How It Works

Make Structure collects values from its input ports and packages them into an indexed structure (array). The node uses dynamic port creation: connecting a value to the last available input automatically spawns a new empty input below it. Ports are numbered sequentially as [0], [1], [2], and so on.

The output structure preserves the index order of the inputs. Disconnecting a value from a port removes that element from the output. The Length output always reflects the current number of connected elements.

Values of any type can be mixed freely within the same structure, including floats, strings, booleans, colors, and even nested structures.

Use Cases

  • Collect related values into a single data bundle for downstream processing.
  • Build coordinate sets by combining X, Y, and Z float values into one structure.
  • Feed multi-element nodes that expect array inputs, such as plotting or iteration nodes.
  • Aggregate sensor channels into a single ordered collection for batch processing.

Tips

  • Pair with Break Structure to unpack the array back into individual values downstream.
  • The dynamic port system means you never need to pre-configure the number of inputs. Just keep connecting.
  • Use the Index node to retrieve a specific element from the resulting structure by position.
  • The Length output is useful for driving loops or validating that all expected inputs are connected.

A ready-made example project for this node is built into Grafit Pro: select the node in the library and open or drag the example from its description panel.

Open Make Structure in the interactive catalog →

Make Structure is one of 381 nodes in Grafit Pro.

Free download. Every feature for 7 days, no card. Then €99.99 once — or keep playing your projects as a Player.

More Structure nodes