ComfyUI Node

FL Show Text

A proper on-node display for a STRING, so you can actually read it

By filliptm·Created 3 years ago·Updated 2 days ago· 632
FL Show Text
    • text
    text

    Half the debugging you do in a text-heavy ComfyUI graph is just "what string is actually flowing through here right now?" - a caption node's output, a prompt after three concatenation steps, a status message from an API call. FL_ShowText, one of the small utility nodes in the Fill-Nodes pack (filliptm), exists purely to answer that question without breaking your graph to do it.

    How it works

    Connect a STRING to it, and it renders that text on the node itself through a styled DOM widget: a header, a little length badge so you can see the character count at a glance, a monospace body for the actual text, and scroll capture so you can mouse-wheel through a long string without it hijacking the canvas scroll/zoom. Then it passes the exact same string through as its output, so you can leave it inline in a chain rather than needing to unplug it once you've checked what it's showing.

    The inputs and outputs that matter

    There's exactly one input, text (STRING, required) - it has to be a connected wire, this isn't a node you type directly into. And one output, also called text - the identical string it received, unchanged, so it slots into the middle of an existing connection without altering anything downstream.

    That passthrough behavior is the whole design: you're not choosing between "display it" and "keep the graph working," you get both. Splice it between two nodes that were already connected, and the graph behaves exactly as before except now you can see what's crossing that wire.

    How to install it

    ComfyUI Manager: search "Fill-Nodes", install, restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/filliptm/ComfyUI_Fill-Nodes
    

    Nothing to it dependency-wise - it's a display widget, not a processing node - so this is a safe, cheap one to grab even if you're wary of the rest of the pack's heavier API/rendering nodes. Restart ComfyUI after cloning.

    Common issues & troubleshooting

    Node shows blank. Check the wire is actually connected - this node has no default text and nothing to show if text isn't wired in from somewhere upstream that's actually producing output.

    Text looks truncated or hard to read. The length badge is there specifically to tell you the character count even when the body is scrolled or the node is small - resize the node bigger on canvas, or use the wheel-scroll to read through a long value rather than assuming what's visible is the whole string.

    Wheel-scroll inside the node also zooms the canvas. The node captures wheel input specifically so this shouldn't happen while your cursor is over the text body - if it's still zooming the canvas, make sure your cursor is actually inside the widget's body area, not just near the node's edge.

    Using it as a prompt input. It's a debug/display node, not an editable text box - if you want to type a prompt by hand, that's a different node (a multiline STRING widget node); FL_ShowText only displays what's already flowing through a connection.

    Category🏵️Fill Nodes/Utility

    Inputs (1)

    NameTypeDefaultDescription
    textSTRING

    Outputs (1)

    NameTypeDescription
    textSTRING