Highway
The legacy slug for ComfyUI-0246's named-lane pipe
- _way_in
- _way_out
If you landed here, you probably searched "Highway" and hit this pack's old slug. This page refers to the original, unprefixed class name for the node that now ships as 0246.Highway - when comfy.icu first indexed the pack, the node registered as plain Highway, and it was later renamed with the 0246. prefix that all the current nodes carry. The inputs and outputs are identical, so everything here applies to today's 0246.Highway too.
Highway is the pack's headline pipe node: "yet another implementation but overkill version of pipe and reroute," per the author. It bundles any number of named values into a single HIGHWAY_PIPE wire and unpacks them on the other side - a bus instead of a rat's nest of parallel connections. You give it a query like >data; <data (default), where > declares an input lane and < declares an output lane, and it routes data between them.
The inputs and outputs
_query- the routing string, default">data; <data".>nameis an input lane,<nameis an output lane,;separates multiple, and backticks escape names with spaces or special characters (>`my data`)._way_in(optional) - aHIGHWAY_PIPEfrom another Highway node, so lanes chain across nodes._way_out- theHIGHWAY_PIPEcarrying everything; plus one named output per<...>lane.
Why the legacy name matters
ComfyUI workflows that embed their node classes will happily load a workflow that references the old Highway class name - and on a fresh install that class no longer exists, so ComfyUI reports it missing. The fix is to load the workflow, swap the old node for the new 0246.Highway, and re-copy the _query string over (the pack's own README recommends exactly this when the type-tracking changes between versions). If you're not running an old workflow, just use 0246.Highway from the start and ignore this page.
How to install it
Same as the pack:
cd ComfyUI/custom_nodes
git clone https://github.com/Trung0246/ComfyUI-0246
restart ComfyUI (or use ComfyUI Manager and search "ComfyUI-0246"). No models; deps are wrapt, natsort, wat-inspector.
For the full mechanism, offsets, cyclic-connection warnings, and honest advice on when a pipe like this earns its keep, head to the main article on 0246.Highway.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| _query | STRING | >data; <data | — |
| _way_inopt | HIGHWAY_PIPE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| _way_out | HIGHWAY_PIPE | — |