Motorway 5x3
Five in, three out β keep the important lanes live
- MOTORWAY ππ¨
- ANY_(A)
- ANY_(B)
- ANY_(C)
- ANY_(D)
- ANY_(E)
- MOTORWAY ππ¨
- ANY (A)
- ANY (B)
- ANY (C)
Motorway 5x3 is the "keep three lanes live" ramp from the agilly1989 Motorway pack: five inputs, three outputs. It's for the workflow where you've gathered five values but only three need to keep flowing as visible wires into the next stage - the other two get filed onto the bus for later. It's a consolidation node with a little more room than a 5x2, which makes it a decent default pick when you're mid-graph and realizing your wire count is getting out of hand.
The pack is a pipe implementation. A MotorwayClass bus carries values under string keys from node to node; each Motorway AxB is an on/off ramp that files inputs onto the bus and pulls outputs off. Journeys start with MotorwayStart (or a Motorway primitive like MotorwaySeed), and the bus always continues out of the first output socket. The README opens with "CURRENTLY IN ACTIVE DEVELOPMENT (BETA)! IF THINGS BREAK ITS BECAUSE I BROKE IT" - build on it, but don't bet your only copy on it.
The node
Required input MOTORWAY ππ¨; five data inputs ANY_(A) through ANY_(E) (typed *, any type); five key fields ANY_(A)_key through ANY_(E)_key; outputs ANY (A) through ANY (C) with the bus always first.
Lanes A, B and C are write-through: input A files under key A and output ANY (A) reads key A back out. Inputs D and E are store-only - file them under keys and a downstream ramp pulls them whenever it needs them. If you'd rather not use an input lane at all, the output for that letter still works as a pure exit: type an existing key from upstream into the key field and out comes that value. The bus is cloned at each node, so a fork into a second ramp won't pick up this node's writes.
Install
ComfyUI Manager, search "ComfyUI_agilly1989_motorway". Or:
cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway
Restart ComfyUI. No model downloads, no pip packages - pure Python.
Common issues
The pack's signature error is 'MotorwayClass' object has no attribute 'hash_...' - you pulled a key that was never written. Keys are sha256-hashed internally, so a typo reads an empty slot rather than telling you the key doesn't exist. And an output wired with a blank key is a blank output. Fill the key on every lane you actually use, and double-check spelling before a long render.
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| MOTORWAY ππ¨ | MOTORWAY ππ¨ | β | |
| ANY_(A)opt | * | β | |
| ANY_(B)opt | * | β | |
| ANY_(C)opt | * | β | |
| ANY_(D)opt | * | β | |
| ANY_(E)opt | * | β | |
| ANY_(A)_keyopt | STRING | β | |
| ANY_(B)_keyopt | STRING | β | |
| ANY_(C)_keyopt | STRING | β | |
| ANY_(D)_keyopt | STRING | β | |
| ANY_(E)_keyopt | STRING | β |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| MOTORWAY ππ¨ | MOTORWAY ππ¨ | β |
| ANY (A) | * | β |
| ANY (B) | * | β |
| ANY (C) | * | β |