ComfyUI Node

Motorway 4x6

Four in, six out, two spare exits for bus values

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

Motorway 4x6 is a fan-out ramp from the agilly1989 Motorway pack: four inputs, six outputs. Two of those outputs - E and F - have no matching input, which is the whole point of this shape. It's a consolidation node with spares: move your four core values through, and use the extra two lanes to pull other things off the bus that upstream nodes filed earlier. One node, six destinations, minimal wires.

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. The bus starts with MotorwayStart (or a Motorway primitive like MotorwayFloat), always continues out of the first output socket, and is cloned at every node - so a bus forked into two branches stays isolated per branch. The README's own health warning: "CURRENTLY IN ACTIVE DEVELOPMENT (BETA)! IF THINGS BREAK ITS BECAUSE I BROKE IT." Keep backups.

Layout and key slots

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

The generator hands every input and every output a key, so on 4x6 slots A–D are shared between an input and an output (write-through: input A files under key A, output A reads key A back out), and E–F are pure exits. To make output E pull the seed, type seed into ANY_(E)_key - no input lane needed. That's the pattern that makes the node genuinely useful: A–D keep your inline values moving, E–F reach back into the bus for values the graph set up earlier, and the whole downstream stretch of the workflow gets everything it needs from one ramp.

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 it bites

The pack's signature error is 'MotorwayClass' object has no attribute 'hash_...' - you typed a key on an output that was never written. Keys are sha256-hashed internally, so a typo reads an empty slot rather than raising a friendly "no such key" message. And the blank-key rule: an output you wire with an empty key field produces nothing. Fill keys for every lane you actually use, leave the rest blank.

Categoryagilly1989 Nodes/Motorways

Inputs (11)

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

Outputs (7)

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