ComfyUI Node

Motorway 5x1

Five inputs, one output β€” the pack-and-go ramp

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

Motorway 5x1 is the pack-and-go node of the agilly1989 Motorway pack: five inputs, one output. On paper it's lopsided in a way that looks useless. In practice it's the "collect everything here" node - you feed it the five values your next section needs, it files them onto the bus under their keys, and a single output keeps the inline flow going while the other four ride along invisibly until something downstream pulls them by key. One wire in, one wire out, and a full payload on the bus.

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. The journey starts with MotorwayStart (or a Motorway primitive like MotorwayFloat), and the bus always flows out of the first output socket. It's beta - the README says so in all caps - so treat it as a tool that works, not a tool you can't live without.

The node

Required input MOTORWAY πŸšŒπŸ’¨; five data inputs ANY_(A) through ANY_(E), typed * so any type rides in; five key fields ANY_(A)_key through ANY_(E)_key. Outputs: MOTORWAY πŸšŒπŸ’¨ plus a single ANY (A).

Each letter's key is a single slot shared by that letter's input and output where both exist. Input A files under key A; output ANY (A) reads key A back out - so the output is write-through on lane A. Inputs B–E are pure store lanes: file the CLIP under clip, the VAE under vae, the seed under seed, and they ride the bus for downstream ramps to pull. If you'd rather use the output to reach back into the bus than to pass lane A through, just type an existing key from upstream into ANY_(A)_key and disconnect input A - the output then emits whatever that key holds.

The bus is cloned at each node, so a 5x1 that forks from a shared bus can't contaminate a sibling branch. That isolation is what makes bigger graphs with these ramps feel safe to build.

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 packages - pure Python.

Common issues

'MotorwayClass' object has no attribute 'hash_...' is the pack's signature error - you pulled a key nobody wrote. Keys are sha256-hashed internally, so a typo reads an empty slot rather than a friendly "key not found." And the blank-key rule still applies: an output you wire with an empty key field produces nothing. Fill the key on any lane you actually read.

Categoryagilly1989 Nodes/Motorways

Inputs (11)

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

Outputs (2)

NameTypeDescription
MOTORWAY πŸšŒπŸ’¨MOTORWAY πŸšŒπŸ’¨β€”
ANY (A)*β€”