ComfyUI Node

Motorway 5x10

The biggest ramp the generator makes

By agilly1989Β·Created 2 years agoΒ·Updated about a year agoΒ· 7
Motorway 5x10
  • MOTORWAY πŸšŒπŸ’¨
  • ANY_(A)
  • ANY_(B)
  • ANY_(C)
  • ANY_(D)
  • ANY_(E)
  • MOTORWAY πŸšŒπŸ’¨
  • ANY (A)
  • ANY (B)
  • ANY (C)
  • ANY (D)
  • ANY (E)
  • ANY (F)
  • ANY (G)
  • ANY (H)
  • ANY (I)
  • ANY (J)
β—„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β€”β–Ί

Motorway 5x10 is the widest node in the agilly1989 Motorway pack - five lanes in, ten lanes out, the maximum the generator produces (the source caps the grid at ten by ten). It's the grand finale of a bus: the node where a whole workflow's worth of values finally fan out to every downstream consumer. If your graph ends with ten nodes all needing slices of what was built upstream, this is the ramp they all pull from. It's also, frankly, the easiest node in the pack to get lost in - ten key fields is a lot of spelling to get right.

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. The bus starts with MotorwayStart (or a Motorway primitive like MotorwayInt), always continues out of the first output socket, and is cloned at every node, so a fork into two ramps keeps the branches isolated. And yes, it's beta - "IF THINGS BREAK ITS BECAUSE I BROKE IT" is the README's opening gambit.

The layout

Required input MOTORWAY πŸšŒπŸ’¨; five data inputs ANY_(A) through ANY_(E) (typed *, so any type); ten key fields ANY_(A)_key through ANY_(J)_key; outputs ANY (A) through ANY (J) with the bus always first.

Lanes A–E are write-through: input A files under key A, output ANY (A) reads key A back out. Lanes F–J are pure exits - no input, just a key that pulls a value off the bus. So the design is: feed up to five current values in on A–E, then spend all ten outputs handing the graph everything - those five, plus anything earlier nodes filed - to ten different consumers. Type seed into ANY_(H)_key and output ANY (H) is the seed. Same key string, same value, anywhere on the bus.

Install

ComfyUI Manager search "ComfyUI_agilly1989_motorway", or:

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

Restart ComfyUI. No models to download, no pip dependencies - pure Python.

Where people get burned

With ten key fields, the pack's documented error is a near-certainty at some point: 'MotorwayClass' object has no attribute 'hash_...' - an output key points at a value nobody wrote. Keys are sha256-hashed internally, so a typo reads an empty slot instead of surfacing as a spelling problem; that's why this error is so cryptic. Practical rules for a 10-output node: fill a key for every output you wire, leave the rest blank, and proofread the keys before a long render. If a render dies halfway, it's almost always a typo in a key string.

Categoryagilly1989 Nodes/Motorways

Inputs (16)

NameTypeDefaultDescription
MOTORWAY πŸšŒπŸ’¨MOTORWAY πŸšŒπŸ’¨β€”
ANY_(A)opt*β€”
ANY_(B)opt*β€”
ANY_(C)opt*β€”
ANY_(D)opt*β€”
ANY_(E)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 (11)

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