Nodes Browser

ComfyDeploy: How ComfyUI-ViewData works in ComfyUI?

What is ComfyUI-ViewData?

A ComfyUI node that displays the type and contents of whatever is connected to the input. In the case of a Tensor object, it shows the shape instead of its value.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-ViewData and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-ViewData

A ComfyUI node that displays the type and contents of whatever is connected to the input. In the case of a Tensor object, it shows the shape instead of its value.

A screenshot showing usage of the node.

Installation

ComfyUI-Manager

  • Open the Manager
  • Pick "Custom Nodes Manager"
  • Search for "ComfyUI-ViewData"
  • Install the latest version
  • Restart ComfyUI

Comfy-Cli

  • Run comfy node install comfyui-viewdata
  • Restart ComfyUI

Manual

Run the following commands in the terminal:

cd custom_nodes
git clone https://github.com/Gremlation/ComfyUI-ViewData

Then restart ComfyUI.

Note that due to an issue with case-sensitivity, you may have to rename the ComfyUI-ViewData directory to the lowercase comfyui-viewdata before styles and syntax highlighting work.

Options

You can change the indentation level for dictionaries by going to Settings > View Data ~🅖