ComfyUI Node

Motorway 6x0

The parking lot with no exits

By agilly1989Β·Created 2 years agoΒ·Updated about a year agoΒ· 7
Motorway 6x0
  • MOTORWAY πŸšŒπŸ’¨
  • ANY_(A)
  • ANY_(B)
  • ANY_(C)
  • ANY_(D)
  • ANY_(E)
  • ANY_(F)
  • MOTORWAY πŸšŒπŸ’¨
β—„ANY_(A)_keyβ€”β–Ί
β—„ANY_(B)_keyβ€”β–Ί
β—„ANY_(C)_keyβ€”β–Ί
β—„ANY_(D)_keyβ€”β–Ί
β—„ANY_(E)_keyβ€”β–Ί
β—„ANY_(F)_keyβ€”β–Ί

Motorway 6x0 is the odd one in the family: six inputs, zero ANY outputs. It takes values into the motorway and gives nothing back except the continuing MOTORWAY πŸšŒπŸ’¨ wire. That sounds useless until you think about how a keyed pipe actually works - then it becomes the node you reach for when you want to store six things for later stops without also pulling anything out right now.

It's from the agilly1989 Nodes/Motorways pack, where Motorway [inputs]x[outputs] names the shape. A 6x0 is a pure on-ramp: you connect six values, type keys for each, and they ride the bus forward. Any later Motorway node that reads those keys - say a 5x9's read-only lanes - picks them up without you ever having to wire this node to them. If you've ever wanted "remember these values for the back half of the pipeline," this is that, as a single tidy stop.

How it works

Same machinery as every Motorway node. The incoming motorway is a custom object that behaves like a dict, keys stored under sha256 hashes so they can't collide with ComfyUI's attributes. When the node runs, it writes each connected ANY_(A)–ANY_(F) input under its _key widget value, clones the bag, and passes it onward - with zero output reads, because there are no output lanes. The value lives in the bag until some later stop reads it by name or it gets overwritten by a reused key.

One thing to notice: even though there are no ANY outputs, the 6x0 still has six key slots, one per input. So every lane here is a write. That makes it the ideal "stage your data" node - set up a seed, a checkpoint, a latent at the front of a workflow and let downstream stops read them by key.

The inputs and outputs that matter

The required MOTORWAY πŸšŒπŸ’¨ input (Motorway-type only) and six optional inputs ANY_(A) through ANY_(F), each with a _key string widget. The single output is the continuing MOTORWAY πŸšŒπŸ’¨ - that's it. A beginner's trap worth naming: since there are no ANY outputs, this node can't hand you a value directly. If you need something out immediately, reach for a node with output lanes (a 6x1 or 6x6) instead. Use the 6x0 when the values are for later.

Installing it

ComfyUI Manager - search ComfyUI_agilly1989_motorway - or:

cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway

Restart ComfyUI. No requirements.txt, no model downloads; pure Python on ComfyUI's own type helpers. As with the whole pack, it's a one-person beta, so don't be shocked if an update reshuffles something.

Common issues

There's nothing to read on this node, so the usual KeyError can't happen here - but you'll trigger it downstream if a later stop reads a key this node was supposed to write and you typo'd it. Double-check the _key strings against wherever they're consumed; keys are exact, case-sensitive strings. And remember the overwrite rule: if an earlier stop already used one of your six keys, this node silently replaces that value.

Categoryagilly1989 Nodes/Motorways

Inputs (13)

NameTypeDefaultDescription
MOTORWAY πŸšŒπŸ’¨MOTORWAY πŸšŒπŸ’¨β€”
ANY_(A)opt*β€”
ANY_(B)opt*β€”
ANY_(C)opt*β€”
ANY_(D)opt*β€”
ANY_(E)opt*β€”
ANY_(F)opt*β€”
ANY_(A)_keyoptSTRINGβ€”
ANY_(B)_keyoptSTRINGβ€”
ANY_(C)_keyoptSTRINGβ€”
ANY_(D)_keyoptSTRINGβ€”
ANY_(E)_keyoptSTRINGβ€”
ANY_(F)_keyoptSTRINGβ€”

Outputs (1)

NameTypeDescription
MOTORWAY πŸšŒπŸ’¨MOTORWAY πŸšŒπŸ’¨β€”