Motorway 6x1
Park six, peek at one
- MOTORWAY ππ¨
- ANY_(A)
- ANY_(B)
- ANY_(C)
- ANY_(D)
- ANY_(E)
- ANY_(F)
- MOTORWAY ππ¨
- ANY (A)
Motorway 6x1 is the "park six, peek at one" node: six inputs in, a single ANY output out, plus the continuing MOTORWAY ππ¨ wire. From the agilly1989 Nodes/Motorways pack, it's the stop you use when you mostly want to stash values for later stops but still need to hand one thing off immediately - like staging a batch of parameters and pulling the seed back out to feed a SaveImage node right away.
The 6x1 names the shape: six inputs, one output. It has six key slots (A through F), one per input, and the single output reads by the A key. So of your six lanes, five are pure writes (B through F) and one (A) is a write and a read. Connect something to ANY_(A), key it seed, and the output returns whatever "seed" holds at that point - which, because reads happen after writes, is the value you just plugged in, unless an earlier stop already had something under "seed."
How it works
Like every Motorway node, it's a keyed bag on a bus. The incoming motorway object behaves like a dict with sha256-hashed keys. The node pops the incoming MOTORWAY ππ¨, writes each connected input under its _key widget value, clones the bag, reads the A key for the single output, and passes the bag onward. Values written at earlier stops remain readable by name at any later stop, and a reused key gets overwritten rather than merged.
That asymmetry is the useful bit. Need to log six values but only feed one forward? This is the cleanest node for it - the other five live in the bag for whichever downstream stop asks for them by key. The single output is just a convenience tap on lane A.
The inputs and outputs that matter
Required MOTORWAY ππ¨ input (Motorway-type only). Six optional inputs ANY_(A) through ANY_(F), each with a _key string widget. Outputs: MOTORWAY ππ¨ and one ANY (A). Leave a key empty and that lane idles; leave A's key empty and the output stays unconnected/None, which is the main way beginners trip - an empty key means no output value, not "pass through what I didn't type."
Installing it
ComfyUI Manager - search ComfyUI_agilly1989_motorway - or clone:
cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway
Restart ComfyUI. No requirements.txt, no model downloads; the pack is pure Python on ComfyUI's own comfy_types. It's a beta, one-developer project - the README's own top line promises breakage - so pin it if a workflow depends on it.
Common issues
KeyError: Key: 'x' doesn't exist in motorway (README: 'MotorwayClass' object has no attribute 'hash_') means the output read a key that nothing has written - check spelling and case. And keep the overwrite rule in mind: if an earlier stop wrote under the same key, this node replaces it, and the output - read after the write - shows the new value.
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| MOTORWAY ππ¨ | MOTORWAY ππ¨ | β | |
| ANY_(A)opt | * | β | |
| ANY_(B)opt | * | β | |
| ANY_(C)opt | * | β | |
| ANY_(D)opt | * | β | |
| ANY_(E)opt | * | β | |
| ANY_(F)opt | * | β | |
| ANY_(A)_keyopt | STRING | β | |
| ANY_(B)_keyopt | STRING | β | |
| ANY_(C)_keyopt | STRING | β | |
| ANY_(D)_keyopt | STRING | β | |
| ANY_(E)_keyopt | STRING | β | |
| ANY_(F)_keyopt | STRING | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| MOTORWAY ππ¨ | MOTORWAY ππ¨ | β |
| ANY (A) | * | β |