Nodes/ComfyUI-YogurtNodes/Preview Any Bridge (Yogurt Nodes)
ComfyUI Node

Preview Any Bridge (Yogurt Nodes)

The node that shows you what's actually flowing through that wire

By yogurt7771·Created 2 years ago·Updated 4 days ago· 1
Preview Any Bridge (Yogurt Nodes)
  • data
  • data
  • text

Half of debugging a ComfyUI workflow is just wanting to see the value on a wire. Preview Any Bridge (Yogurt Nodes) is the inspect node for that job: it accepts literally any data type, renders it as readable text in the UI, and passes the original data through untouched. It's a debugger's node - the "what is this, actually?" checkpoint you drop in the middle of a graph.

The reason it's worth having in the pack rather than reaching for a Save or an output node: most nodes that display data either demand a specific type or stop the flow. This one accepts anything (* type), shows you what it is, and keeps the pipeline moving on the same data socket. When a JSON node hands you something unexpected, when a string node's output looks wrong, when a tensor's shape surprises you - this is the two-second look.

How it works

The node takes whatever data arrives and formats it for display: strings show as-is, numbers and booleans get stringified, tensors show their shape (plus the tensor itself), and dictionaries/lists are pretty-printed as JSON with indentation. If it can't serialize something, it falls back to a plain str() and, as a last resort, tells you it exists but couldn't be serialized. The original data always passes through on the output socket, so the node never changes what your workflow is doing - it only changes what you can see.

The inputs and outputs that matter

  • data (input) - anything. A string, an int, a tensor, a dict, a list, None - all accepted.

Outputs:

  • data - the exact same value, for the rest of your graph.
  • text - the human-readable rendering, so you can also feed the description into a prompt, a log, or another string node.

That text output is the sleeper feature: "convert any value to readable text" is a mini-converter, not just a debug view. Pipe a dict in and get JSON out; pipe a tensor in and get its shape as a string.

Installing it

It's part of ComfyUI-YogurtNodes. Install via ComfyUI Manager (search "ComfyUI-YogurtNodes") or:

cd ComfyUI/custom_nodes
git clone https://github.com/yogurt7771/ComfyUI-YogurtNodes.git
cd ComfyUI-YogurtNodes
pip install -r requirements.txt

Restart ComfyUI; it's under "Yogurt Nodes". Nothing to download.

Where people get burned

There's not much to trip over, honestly. One thing: a large dict or list gets fully dumped into the preview, which can flood the UI if your data is huge - for giant structures, don't stare at the preview, grab the text output and pass it through a regex or filter node instead. And note the preview is a UI display, not a saved file, so it lives and dies with the run. If you've ever stared at a red "cannot convert value to float" error with no idea what the value was, this node is the thing that would have told you in one run.

CategoryYogurtNodes/IO

Inputs (1)

NameTypeDefaultDescription
data*The data to be returned.

Outputs (2)

NameTypeDescription
data*
textSTRING