ComfyUI Node

Hub

Widget management to the max, minus image previews

By Trung0246·Created 3 years ago·Updated about a year ago· 137
Hub

      Hub is the 0246 pack's wildcard aggregator: a node with no fixed inputs or outputs where you add typed pins yourself, wire values in, and get them back out - with a few special slots that assemble those values into the pack's pipe types. The author calls it "widget management to the max."

      In practice it's the "turn a pile of outputs into one thing" node. Say you have a dozen values you want bundled into a Highway pipe or a Junction pipe without hand-wiring each one: Hub lets you define the pins, mark one as a __PIPE__ slot, and it builds the pipe for you. The special input kinds, straight from the source, are:

      • __PIPE__ - pick HIGHWAY_PIPE or JUNCTION_PIPE and Hub aggregates all the typed pins into that pipe type. A __PIPE__ slot set to HIGHWAY_PIPE produces a Highway whose lanes are your other pins.
      • __BATCH_PRIM__ - gather all primitive-typed outputs (ints, floats, strings) of a given type into one list.
      • __BATCH_COMBO__ - same idea but for combo/enum outputs, matched by name suffix.

      So Hub is really a configurable junction box: it both carries values through and gives you a one-node way to manufacture a pipe from loose pins.

      The honest caveats

      The README is upfront about Hub's limits: image display does not work, and other third-party custom types may not render either. It says the node "should generally be stable," which, in the context of this pack, is practically a warranty. The source also notes Hub can't be copy-pasted between tabs and that there are known pin-name glitches (e.g. Beautify's input name getting stuck when connected through a CastReroute).

      How to install it

      The usual:

      cd ComfyUI/custom_nodes
      git clone https://github.com/Trung0246/ComfyUI-0246
      

      restart, or ComfyUI Manager → search "ComfyUI-0246". No models.

      Common issues & troubleshooting

      Image outputs show nothing. Documented, not a bug. Hub's image display doesn't work; feed images to a preview node instead.

      Pins you add don't behave. Hub pins are wildcard - the type handling is best-effort, and third-party types can misbehave. Stick to primitives, tensors, and the pack's own pipe types for reliable results.

      Pipes come out wrong or the node errors with "No output." The source raises "No output." if it ends up with nothing to emit - usually a __PIPE__ slot whose matching typed pins didn't get wired. Check that every pin you expect in the pipe actually has a connection, and that the __PIPE__ target (HIGHWAY_PIPE vs JUNCTION_PIPE) matches how you read the result downstream.

      Like the rest of this pack: single-author, dormant since early 2025, varying quality. Hub is useful, but it's the kind of node you adopt for one specific workflow, not one you build your whole graph around.

      Category0246

      Inputs (0)

      No inputs

      Outputs (0)

      No outputs