ComfyUI Node

Motorway 4x7

Four in, seven out, a real fan-out for the second half

By agilly1989Β·Created 2 years agoΒ·Updated about a year agoΒ· 7
Motorway 4x7
  • 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_(A)_keyβ€”β–Ί
β—„ANY_(B)_keyβ€”β–Ί
β—„ANY_(C)_keyβ€”β–Ί
β—„ANY_(D)_keyβ€”β–Ί
β—„ANY_(E)_keyβ€”β–Ί
β—„ANY_(F)_keyβ€”β–Ί
β—„ANY_(G)_keyβ€”β–Ί

Motorway 4x7 is where the fan-out starts to feel real. Four lanes in, seven lanes out, from the agilly1989 Motorway pack - the kind of node you drop at the transition between the "setup" part of a workflow and the "many consumers" part. Three of the seven outputs (E, F, G) have no matching input, so they exist purely to reach back into the bus and pull values out. If your downstream graph has seven nodes that all need a slice of what the graph built earlier, this is your one-stop distribution point.

The pack is a pipe implementation: a MotorwayClass bus carries values under string keys from node to node, and each Motorway AxB is an on/off ramp. Journeys start with MotorwayStart (or a Motorway primitive like MotorwayStr, which can start a bus by itself), and the bus always continues out of the first output socket. It's a beta pack - the README leads with "IF THINGS BREAK ITS BECAUSE I BROKE IT" - so treat it like a hobby tool with a real community footprint: at least one person on r/comfyui has shown a whole workflow collapsed onto these ramps.

The layout

Required input MOTORWAY πŸšŒπŸ’¨; four data inputs ANY_(A) through ANY_(D) (typed *, so any type); seven key fields ANY_(A)_key through ANY_(G)_key; outputs ANY (A) through ANY (G), bus first.

Each letter's key is a single slot shared by that letter's input and output where both exist. A–D are write-through: input A files under key A, output A reads key A back out. E–G are pure exits - fill their keys with names of values already on the bus (seed, model, clip) and out they come. Because the bus is cloned at every node, forks stay isolated, so you can safely run the same bus into a second ramp and change values there without disturbing this one.

Install

ComfyUI Manager, search "ComfyUI_agilly1989_motorway". Or:

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

Restart ComfyUI. No model downloads, no pip packages - pure Python.

Common issues

'MotorwayClass' object has no attribute 'hash_...' - the README's documented error - is what you get for pulling a key nobody wrote. Keys are sha256-hashed internally, so a typo reads an empty slot instead of surfacing as a spelling problem. And an output wired with a blank key is a blank output. Fill the key for every lane you actually use.

Categoryagilly1989 Nodes/Motorways

Inputs (12)

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β€”

Outputs (8)

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