π― YFG Display Value
A monitor node that lives in the title bar
ComfyUI's stock text display options are chunky. ShowText, Display Int - they're fine, but they eat canvas space for something you glance at twice. YFG Display Value is the opposite: a tiny read-only node that prints whatever number or string you feed it right in its own title bar, formatted as value | label. Collapse it to nothing and it still tells you what you need to know.
You'll want it for monitoring. The seed a randomizer drew. The width of an image a loader pulled. The index a random-prompt node just picked. When you're debugging a batch or just confirming a value actually landed, you want a node you can shrink to a sliver and still read at a glance. That's exactly the niche this fills, and it's the natural companion to things like YFG Random Prompt From File's index_current output.
The inputs
Three inputs, all optional, all forced to be input sockets rather than widgets:
- int_value (
INT) - float_value (
FLOAT) - string_value (
STRING)
Because they're typed sockets, each is compatible with Use Everywhere (UE) broadcast links if that's how you wire. The node picks whichever input is connected, with a strict priority: INT > FLOAT > STRING. There are no outputs - this is a pure display node. It's marked as an output node, so it runs when you queue the graph.
How it works
The logic is refreshingly short. Whichever input arrives first in priority order wins, gets turned into text, and comes back as a UI update that ComfyUI paints into the title bar and, when expanded, the node body. It also writes the last value into the workflow's widgets_values, so the node remembers what it showed on reload instead of starting blank.
The "label" half of value | label is just the node's title. Rename the node (double-click the title, as usual in ComfyUI) to set the label - say, Index or Seed - and the value is appended automatically after every run. It's a deliberate, minimal design, and it does exactly one job well.
Where people get burned
Keep it to one input. Feed it both an INT and a FLOAT and the INT silently wins, with no warning that you're not seeing what you think you're seeing. And remember the missing output socket is by design: if you want to display and keep the value flowing, grab a reroute or a second copy. That's the trade you accept for the tiny footprint.
Installing it
This node ships in the YFG Comical pack, so install the pack once and it's there. In ComfyUI Manager, search for YFG Comical ("π― YFG Comical Nodes") and install. Or, the manual route:
cd ComfyUI/custom_nodes
git clone https://github.com/gonzalu/ComfyUI_YFG_Comical
Restart ComfyUI. Dependencies (transformers, typer, typing-extensions, piexif) install automatically via the pack's pyproject.toml; nothing here needs a model download. Find the node under the π― YFG category in the picker - it's the rare utility node that earns its place in a workflow by being boring on purpose.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| int_valueopt | INT | β | |
| float_valueopt | FLOAT | β | |
| string_valueopt | STRING | β |
Outputs (0)
No outputs