Nodes/ComfyUI-WJNodes/Composite Other
ComfyUI Node

Composite Other

The leftover-settings node — alpha flip and chain reset

By 807502278·Created 2 years ago·Updated 11 months ago· 21
Composite Other
  • Options
  • Composite_Basic
flip_Afalse
Ignore_Inputfalse

The catch-all node in WJNodes' options-chain family for its ImageCompositeMask_adv compositor (Composite_Basic covers the chaining pattern this whole family shares). Every other node in this set has a clear theme - coordinates, scale, canvas, mask, batching. Composite_Other is where the two settings that didn't fit anywhere else ended up: flipping the alpha channel, and ignoring whatever chain was passed in.

The inputs and outputs that matter

  • flip_A (BOOLEAN, default false) - inverts the alpha channel. Where you'd reach for this: a mask or alpha channel that's inverted from what you need (transparent where it should be opaque, or vice versa) further up your graph, without wanting to insert a separate invert node just for that one channel.
  • Ignore_Input (BOOLEAN, default false) - when on, this node discards whatever Options chain was fed into it and starts from a fresh default settings object instead of extending the incoming one. That makes it a deliberate chain-breaker: useful if you're debugging a long options chain and want to isolate whether a problem is coming from earlier nodes or from something downstream, or if you genuinely want to reset to defaults at a specific point without rebuilding the graph from scratch.
  • Options (optional) - the chain to extend, or to discard if Ignore_Input is on.
  • Composite_Basic (output) - the updated (or reset) chain.

The node's own description notes it's meant to be set with a broad application scope in mind - in practice, that means pairing it with Composite_Application_pro if you need flip_A to apply specifically to back versus surface rather than relying on this family's usual surface/mask default.

Installing it

Via ComfyUI Manager: search ComfyUI-WJNodes, install, restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/807502278/ComfyUI-WJNodes.git
cd ComfyUI-WJNodes
pip install -r requirements.txt

Nothing extra needed for this node.

Common issues & troubleshooting

Rest of your chain's settings vanished after this node. Check Ignore_Input first - it's off by default, but if it's on, this node is doing exactly what it says: discarding the incoming chain and starting over. That's the single most surprising behavior in this whole options family if you don't already know it's there, since every other node in the set extends what it's given.

Alpha looks inverted when it shouldn't be, or vice versa. That's flip_A - straightforward once you know it's set, easy to leave on from an earlier test otherwise.

Using this node just to pass a chain through unchanged. With both settings at their defaults (flip_A off, Ignore_Input off), this node is effectively a no-op pass-through - which is a legitimate thing to do if you need a placeholder node in a chain for organizational reasons, but if you don't need either setting, you likely don't need this node in your graph at all.

CategoryWJNode/ImageBlend/options_adv

Inputs (3)

NameTypeDefaultDescription
flip_ABOOLEANfalse
Ignore_InputBOOLEANfalse
OptionsoptComposite_Basic

Outputs (1)

NameTypeDescription
Composite_BasicComposite_Basic