ComfyUI Node

Motorway 4x8

Four in, eight out, most of your exits off the bus

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

Motorway 4x8 is a proper fan-out ramp from the agilly1989 Motorway pack: four inputs, eight outputs. Only four of those outputs (A–D) line up with the inputs; the other four (E–H) are pure exits that reach back into the bus. So this node is really a "last-mile distributor": it keeps four core values flowing inline and hands out four more things the graph built earlier, all from one spot. It's the node for the end of a bus that feeds a wide downstream stage.

The pack is a pipe implementation. A MotorwayClass bus carries values under string keys from node to node; every 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 MotorwaySeed), always continues out of the first output socket, and is cloned at each node so parallel branches stay isolated. The README is blunt about its status: "CURRENTLY IN ACTIVE DEVELOPMENT (BETA)! IF THINGS BREAK ITS BECAUSE I BROKE IT." Save before you get fancy.

The node

Required input MOTORWAY πŸšŒπŸ’¨; four data inputs ANY_(A) through ANY_(D), typed * so they take any type; eight key fields ANY_(A)_key through ANY_(H)_key; outputs ANY (A) through ANY (H), with the bus always first.

Slots A–D share a key between an input and an output (input A files under key A, output A reads it back out), while E–H have no input lane at all - their key fields are pure pull requests. Type clip into ANY_(E)_key and output ANY (E) emits the CLIP that some upstream node filed. That's the useful trick of the bigger fan-outs: the four inline lanes keep moving your current values, and the exit lanes turn one bus into eight clean wires.

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.

The usual failure

'MotorwayClass' object has no attribute 'hash_...' is the pack's documented error, and with eight key fields it's easy to hit: you wire output F, type a key, and that key was never written by anything upstream. Keys are sha256-hashed internally, so a typo reads an empty slot rather than telling you "no such key." Rule: every output you wire needs its key filled, and that key has to match something actually filed on the bus upstream.

Categoryagilly1989 Nodes/Motorways

Inputs (13)

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

Outputs (9)

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