ComfyUI Node

Motorway 3x6

Motorway 3x6

By agilly1989Β·Created 2 years agoΒ·Updated about a year agoΒ· 7
Motorway 3x6
  • MOTORWAY πŸšŒπŸ’¨
  • ANY_(A)
  • ANY_(B)
  • ANY_(C)
  • 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 3x6 is the "three in, six out" distribution node of the agilly1989 Motorway pack: three values join the bus, six named values come off it, and half of those outputs are read-only taps into things already stored on the route. It's the shape for a workflow where three live values are doing the traveling but the current section of the graph needs to read a bunch of settings without you dragging wires in from all over.

The Motorway is a beta "pipe" implementation by solo dev agilly1989, in the same family as rgthree's Context nodes and Impact Pack pipes: bundle values onto one wire instead of crossing them all over the canvas. The transport is a MotorwayClass bus object carried on the MOTORWAY πŸšŒπŸ’¨ connection - required input on every node, first output on every node, so the route keeps going. Start with MotorwayStart, then chain as many junctions as the graph needs.

How it works

Same key mechanism as the whole pack. Values into ANY_(A), ANY_(B), ANY_(C), each named in a _key box, all three stored on the bus. Because outputs outnumber inputs, the node carries six key slots - ANY_(A)_key through ANY_(F)_key:

  • inputs ANY_(A), ANY_(B), ANY_(C) with keys
  • read-only key slots ANY_(D)_key, ANY_(E)_key, ANY_(F)_key
  • the required MOTORWAY πŸšŒπŸ’¨ bus input
  • outputs MOTORWAY πŸšŒπŸ’¨, ANY (A) through ANY (F)

A, B, C are double-duty: each names its input and reads its own output back. D, E, F are taps - type a key that's on the bus and the matching output hands it over. The practical use: carry model, clip and vae forward while exposing seed, steps and cfg that a write-only node parked earlier. One node, six useful outputs, no spaghetti.

Internally each key is sha256-hashed into an attribute like hash_9c2a…, which is why a missing key errors as 'MotorwayClass' object has no attribute 'hash_'. And writing the same key twice anywhere overwrites the first value - the bus is a set of name tags, not a log.

Installing

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

then restart ComfyUI, or install from ComfyUI Manager under ComfyUI_agilly1989_motorway. No pip dependencies, no model downloads; pure Python, so clone-and-restart is the entire setup.

Common issues

  • hash_ error: key never written or spelled differently upstream. Keys match exactly - case and spaces count.
  • Empty key slots mean those outputs are never produced - wire anything into them and ComfyUI rejects the missing output. Fill all six.
  • Don't key a slot you left disconnected; an unconnected input stores None under that name and can erase a value you needed.

Beta pack, honest warning from the author. For "three forward, three taps," 3x6 is a tidy little hub.

Categoryagilly1989 Nodes/Motorways

Inputs (10)

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