00ccfd4cc10de98ea22e91a8ffa71208de3c2a08
Instead of manually calculating slot Y positions with a formula that varies across LiteGraph versions, use getConnectionPos() which returns the exact coordinates LiteGraph uses for drawing slot connectors. This guarantees perfect alignment between toggles and their input slots. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ComfyUI DD Nodes
Custom nodes for ComfyUI by Digital Divas.
Nodes
Text
| Node | Description |
|---|---|
| DD Text Concatenate | Join two strings with an optional separator |
| DD Text Replace | Find and replace within text |
| DD Show Text | Display text in the UI |
Image
| Node | Description |
|---|---|
| DD Image Resize | Resize with nearest/bilinear/bicubic/area interpolation |
| DD Image Batch | Combine two images into a batch |
| DD Get Image Size | Return width and height |
Math
| Node | Description |
|---|---|
| DD Integer Math | Arithmetic operations on integers |
| DD Float Math | Arithmetic operations on floats |
| DD Int to Float | Type conversion |
| DD Float to Int | Type conversion with rounding modes |
Installation
Clone into your ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes
git clone https://github.com/digital-divas-admin/ComfyUI_DD_Nodes.git
Restart ComfyUI to load the nodes.
License
Languages
JavaScript
50.2%
Python
49.8%