ComfyUI Node Naming Rules
Understanding SD-PPP's node naming rules will help your ComfyUI workflows display and control perfectly in Photoshop.
Basic Principles
To make ComfyUI workflows display and control correctly in Photoshop's SD-PPP panel, node naming must follow specific rules. These rules determine:
- Which nodes will be displayed in the panel
- Node display order
- Node control visibility
Built-in Supported Nodes
Default Display Nodes
SD-PPP has built-in support for the following node types, which can be displayed without special naming:
- PrimitiveNodes - Basic parameter nodes
- CheckpointLoaderSimple - Model loader
- LoadImage - Image loading node
- LoadImageAsMask - Mask image loading
- rgthree-comfy nodes - rgthree extension nodes
- ImpactSwitch - Impact path switch node
- Impact Int/Float, EasyUse Int/Float - Impact number nodes (adjustable upper and lower limits)
- ImpactStringSelector - Impact string selector
💡 These built-in rules are defined in the
javascript/sdppp_custom.js
file
Node Naming Rules
1. Force Display Node: Use #
Prefix
When you want to control a non-built-in supported node, add the #
character before the node name:
Original name: Custom Sampler
New name: #Custom Sampler
2. Force Hide Node: Use .
Prefix
Conversely, use the .
prefix to hide nodes that don't need to be displayed in the panel:
Original name: Debug Info
New name: .Debug Info
Use Cases:
- Intermediate processing nodes
- Debug nodes
- Nodes that don't require user adjustment
3. Sorting Rules: Alphabetical Order
The display order of nodes in the panel is based on alphabetical ordering of node names.
Note on Number Sorting:
❌ Wrong naming:
- 9. Prompt
- 10. Negative
✅ Correct naming:
- 09. Prompt
- 10. Negative
Recommended Naming Scheme:
01. Model Loader
02. Positive Prompt
03. Negative Prompt
04. Sampler Settings
05. Output
Control Display Management
Default Behavior
By default, displayed nodes will show all available controls.
Custom Control Display
To precisely control which controls are displayed, you need to define rules in javascript/sdppp_custom.js
:
🎯 Master the Naming Rules!
Proper node naming makes your workflows more user-friendly in Photoshop, improving creative efficiency!