Skip to content

SDPPP rules to make nodes become APP like UI.

杨必赞 edited this page Apr 17, 2025 · 8 revisions

SDPPP Naming rules

image

0. Some nodes are built-in supported

By default, there are many nodes that are built-in supported by SDPPP. The will shown in the sidebar and SDPPP popup.

  1. PrimitiveNodes
  2. CheckpointLoaderSimple
  3. LoadImage
  4. LoadImageAsMask
  5. rgthree-comfy nodes
  6. GetDocumentNode (for photoshop)
  7. GetLayerByID (for photoshop)

These nodes are defined in javascript/sdppp_custom.js.

1. '#' to force show a node

If you want to control a node that is not built-in supported by SDPPP. You can add the '#' character before the node's name. image

2. '.' to force hide a node

In contrast, you can force hide a node by adding the '.' character before the node's name. image

3. Sorting by alphabet order

The sorting is based on the node's name. Following the alphabet order. Just like the files in your computer.

The most classic case is when you have nodes named 9. foo and 10. bar, the 10. bar will be sorted before 9. foo. So you had better name the 9. foo as 09. foo.


More about widgets

Currently, all widgets will be shown when a node is shown. The only way to define it, is to define a rule in javascript/sdppp_custom.js. It will making the nodes become built-in supported nodes.

More way is in consideration. You can make suggestions to me.

How to define a rule in javascript/sdppp_custom.js

You can just follow the comments and examples in the file.