ComfyUI Node

Motorway 1x6

The distribution hub for a busy stage

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

The Motorway 1x6 is the distribution hub of the pack's fan-out family: one input, six outputs, all hanging off the keyed pipe from agilly1989/ComfyUI_agilly1989_motorway. You reach for it when a single stage of your workflow is hungry for several values at once and you'd rather hand that stage one tidy bundle than six separate wires.

The pack is one author's answer to ComfyUI's pipe question. Instead of a fixed slot layout, the motorway is a bag of values named by string keys, passed node-to-node on one wire. Ramps write and read by name. The 1x6 is a write-light, read-heavy shape: you push one value onto the bus and pull up to six back off. Output A echoes your fresh value; the other five outputs read whatever the bus already carries.

How it works. The single ANY_(A) input pairs with ANY_(A)_key: connect a value, name it, and it's stored on the MotorwayClass under a sha256-hashed attribute. The six outputs read by key - ANY (A) under the same key you just wrote (an echo), ANY (B) through ANY (F) under their own keys, pulling values written by earlier ramps. The bus is cloned before outputs are produced, so all six reads come from one consistent snapshot; nothing a later node writes can leak into what this node returns.

Inputs and outputs that matter. The required MOTORWAY πŸšŒπŸ’¨ input must already be flowing from a MotorwayStart or an earlier ramp. ANY_(A) in, ANY (A)–ANY (F) out, all wildcard-typed. The six _key fields are the interface: A names the write and the echo, B–F name the other reads. If your downstream stage needs the seed, the model, the clip, the vae, a latent and a mask, this is the node that hands them all over from one place.

Install. Via ComfyUI Manager (search "ComfyUI_agilly1989_motorway") or:

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

Restart ComfyUI. Pure Python - no extra packages, no model files.

Common issues. The signature failure is 'MotorwayClass' object has no attribute 'hash_': a read key that never matched a write. Check spelling and case, and remember reads can only see writes that came before them in the chain. A blank read key drops that output and shrinks the returned tuple, which confuses ComfyUI's fixed output count. And this being a beta pack with a README that opens on a confession of brokenness, save your workflows before updating and don't be surprised by the occasional breaking change.

Categoryagilly1989 Nodes/Motorways

Inputs (8)

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

Outputs (7)

NameTypeDescription
MOTORWAY πŸšŒπŸ’¨MOTORWAY πŸšŒπŸ’¨β€”
ANY (A)*β€”
ANY (B)*β€”
ANY (C)*β€”
ANY (D)*β€”
ANY (E)*β€”
ANY (F)*β€”