3 Commits
Author SHA1 Message Date
webfiltered 5992abe727 Fix Exception on run - missed while adding feature 2024-07-30 00:41:44 +10:00
webfiltered d899afff89 Fix textareas not resizing on list shrink 2024-07-29 20:32:15 +10:00
filtered 9235482b2b Initial README.md 2024-07-29 19:53:33 +10:00
3 changed files with 19 additions and 6 deletions
+17 -1
View File
@@ -1 +1,17 @@
# WTF? - a debug node for ComfyUI
# WTF? - a debug node for ComfyUI
This node provides a simple way to view the output of many nodes, without leaving ComfyUI.
### Simple string
![image](https://github.com/user-attachments/assets/f3b2f797-77f2-4fb5-b3f0-8b768b386448)
### Tensor
![image](https://github.com/user-attachments/assets/79f17776-0bcf-4066-9f8a-33ec16a19d6d)
### An OUTPUT_IS_LIST node (Rebatched images)
![image](https://github.com/user-attachments/assets/edf500ac-edce-4b58-8d2a-074bf1b8c4cc)
### A list node without OUTPUT_IS_LIST
![image](https://github.com/user-attachments/assets/d065ca60-189b-4b0b-826e-248da1a73a2e)
_"What's that field?"_
+1 -1
View File
@@ -71,7 +71,7 @@ class WTFDebugNode:
info["value"] = str(item) if item != None else None
out.append(info)
return { "ui": { "items": out, "length": len(anything) } }
return { "ui": { "items": out, "length": [len(anything)] } }
NODE_CLASS_MAPPINGS = {
"WTFDebugNode": WTFDebugNode,
+1 -4
View File
@@ -104,10 +104,7 @@ app.registerExtension({
}
requestAnimationFrame(() => {
const size = this.computeSize();
for (const widget of this.widgets.filter(x => x.element)) {
widget.onResize?.(size)
}
this.onResize?.(this.size)
})
return r