connect_nodes
Wire an output port to an input port to connect nodes in a Gaea terrain graph. Specify port names for multiple ports; each input accepts one connection only.
Instructions
Connect two nodes by wiring an output port to an input port. Default ports: "Out" → "In" (works for most simple chains). For nodes with multiple ports (e.g. Combine has Input2, Mask; Erosion2 outputs Flow, Wear, Deposits), specify the port names explicitly. For Combine, set Method property before connecting (e.g. "Multiply" for masking, "Max" for blending terrains, "Screen" for color compositing). Each input port accepts only one connection — connecting replaces any existing connection on that input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toPort | No | Destination input port name (default: "In") | In |
| filename | Yes | Path to .terrain file | |
| fromPort | No | Source output port name (default: "Out") | Out |
| toNodeId | Yes | Destination node ID (the node receiving data) | |
| fromNodeId | Yes | Source node ID (the node producing data) |