DocsConnections
Node Connections
Creating and managing type-safe data flow links between nodes in the Node Editor.
Overview
Connections represent data flow between nodes. Each connection:
- Type-Safe: Only compatible pin types can connect
- Directional: Data flows from output to input pins
- Validated: Automatic shape and type checking
- Visual: Color-coded by data type
Pin Types
| Type | Color | Purpose |
|---|---|---|
| Tensor | Blue | General tensor data |
| Labels | Green | Classification labels |
| Parameters | Orange | Model parameters |
| Loss | Red | Loss values |
| Optimizer | Purple | Optimizer state |
| Dataset | Cyan | Dataset reference |
Creating Connections
- Click on an output pin (right side of node)
- Drag the connection line to a target input pin
- Release over a compatible input pin (left side of node)
- Connection snaps into place if types are compatible
Tip: You can also drag from input to output pins.
Connection Flow
+------------+ +------------+ +------------+ | DataInput | | Dense | | ReLU | | | | | | | | [o]-+--------->+-[o] [o]-+--------->+-[o] [o]-+----> | output | Tensor | input out | Tensor | input out | +------------+ +------------+ +------------+ [o] = Pin (colored by type) --> = Connection (data flow direction)
Managing Connections
Delete Connection
- Click on connection line to select
- Press
DeleteorBackspace - Or right-click connection → Delete
Reroute Connection
- Double-click on connection to add reroute point
- Drag reroute point to organize layout
- Double-click reroute point to remove
Disconnect All
Right-click on a node → Disconnect All to remove all connections from that node.
Replace Connection
Drag a new connection to an already-connected input pin to replace the existing connection.
Multiple Connections
Output Pins
Can connect to multiple inputs (fan-out). Data is copied to each connected node.
Input Pins
Accept only one connection (unless it's a merge node like Concatenate or Add).
Connection Errors
| Error | Cause | Solution |
|---|---|---|
| Invalid connection | Incompatible pin types | Check pin colors match |
| Cycle detected | Circular connection | Use skip connections properly |
| Shape mismatch | Tensor dimensions don't match | Add Reshape or check layer config |
| Missing input | Required pin not connected | Connect all required inputs |
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Delete selected connection | Delete |
| Select all connections | Ctrl+A |
| Undo connection change | Ctrl+Z |