Wires
How nodes connect through wires to pass data and control execution order.
What is a wire?
A wire is a visual connection between two pins on different nodes. Wires define how data flows and in what order nodes execute. Every automation you build in DRAGOPS is a graph of nodes connected by wires.
Types of wires
There are two types of wires, matching the two types of pins.
Execution wires
Execution wires connect execution pins (white/gray triangles) and control the order that nodes run. They form a path through your pattern from the trigger to the final node.
When a node finishes, it fires its output execution pin, which follows the wire to the next node's input execution pin. This is how you build sequential logic — one step after another.
Data wires
Data wires connect data pins (colored circles) and carry values between nodes. The wire color matches the type of the source pin, so you can tell at a glance what kind of data is flowing.
For example, a magenta/pink wire carries a string value, a cyan/teal wire carries an integer, and a purple wire carries an array.
Creating a wire
To create a wire:
- Hover over an output pin on the right side of a node
- Drag from the output pin toward an input pin on another node
- Release on a compatible input pin
The editor highlights compatible pins as you drag, and the type system prevents you from creating invalid connections. If two pins are not compatible, the wire will not connect.
Disconnecting a wire
To remove a wire:
- Drag the wire away from the input pin it connects to
- Hold Alt and select a pin to disconnect all wires from that pin
Wire rules
- Each input pin accepts at most one wire. A node input can only receive data from a single source.
- Each output pin can have multiple wires. One output can feed its value to many downstream nodes.
- Execution pins only connect to other execution pins. Data pins only connect to other data pins.
- Data wires respect type compatibility. The editor prevents mismatched connections.
Wire color reference
Wire color always matches the source pin type. See the full color table in nodes and pins or the type system.
| Wire color | Data type |
|---|---|
| White/Gray | Execution flow |
| Magenta/Pink | String |
| Cyan/Teal | Integer |
| Light Green | Float |
| Red | Boolean |
| Blue | Object |
| Purple | Array |
| Orange/Amber | DateTime |
| Orange | Binary |
| Gray | Any |
| Dark Gray | Null |
| Dark Green | Enum |
Related concepts
- Nodes and pins — the endpoints that wires connect
- Type system — the rules that determine which pins can connect