ComfyUI Node

Motorway 10x7

Seven of ten lanes opened for business

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

By the time you're reaching for a Motorway 10x7, you've bought into the idea that a whole workflow's worth of values should ride one wire. Seven of its ten input lanes open back up as outputs, which makes it less a junction and more a "pretty much everything is available here" distribution point. It's the node for the subgraph that touches most of what's in flight - the one that wants the model, the clip, both conditionings, the latent, the seed, and a couple of extras.

It's part of agilly1989/ComfyUI_agilly1989_motorway, the one-author beta pack that implements a keyed pipe for ComfyUI. The design is deliberately loose: a bag of values tagged with string keys, sha256-hashed into attribute names behind the scenes. Any Motorway node can write values in under names it chooses and read any value back out by name, regardless of when it was written - as long as it was written upstream.

How it works. The ten ANY_(A)–ANY_(J) inputs each carry a _key field. Connect a value, fill in the key, and it's stored on the motorway under that name; blank key and that input is skipped. The seven outputs read by key: ANY (A) pulls whatever ANY_(A)_key names, and so on through G. Note the asymmetry baked into this node: with ten inputs and seven outputs, the write side is still fuller than the read side, so up to three values you write here won't come back out of this node - they'll ride on for downstream ramps to read.

Inputs and outputs that matter. The required MOTORWAY πŸšŒπŸ’¨ input is the pipe; it must be live, so a MotorwayStart (or one of the pack's primitive nodes) needs to be somewhere upstream. Every ANY_ slot is wildcard-typed, so there's no type friction at the junction - models, images, tensors, conditioning all plug in. The outputs are the bus plus seven wildcard ANY (A)–ANY (G) slots.

Install. From ComfyUI Manager (search "ComfyUI_agilly1989_motorway") or by hand:

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

Restart ComfyUI. No extra packages, no model files - pure Python.

Common issues. The recurring one: 'MotorwayClass' object has no attribute 'hash_' means a read key never matched a written key. Keys are exact - model vs Model are different keys, and a trailing space will haunt you. Because this node reads seven keys at once, it's also the easiest place to trip on a partially-filled workflow: leave one of the seven output keys blank and that output won't materialize, throwing off ComfyUI's output count. And keep the beta status in mind - the README literally warns that if things break, it's because the author broke them. That's not a joke; it's the terms of service.

Categoryagilly1989 Nodes/Motorways

Inputs (21)

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

Outputs (8)

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