ComfyUI spaghetti management, now with subgraph support
A grab-bag node pack whose Set/Get rewrite might finally tame your worst workflow tangles.

What it does
KJNodes is a miscellaneous collection of utility, optimization, and quality-of-life custom nodes for ComfyUI. The README is admirably honest: “pretty random collection” with documentation “mostly in the node descriptions and tooltips.” The standout feature is a recently rewritten Set/Get system for routing data between nodes without direct wire connections.
The interesting bit
The March 2026 Set/Get rewrite treats ComfyUI’s graph as a scope hierarchy rather than a flat canvas. A Set node in a parent graph becomes visible to all child subgraphs, with Gets searching upward through ancestors. This is the rare visual-programming feature that acknowledges that real workflows grow hierarchical and messy, not just wide.
Key highlights
- Bidirectional conversion: right-click any link midpoint to Set/Get-ify it, or right-click a Set/Get pair to restore direct wires
- Batch operations: convert all outputs of selected nodes at once, or nuke every Set/Get pair back to links via settings
- Keyboard-heavy workflow: Ctrl+Shift+S/G/L for adding Sets, Gets, and toggling link visibility
- Shift+middle-click slot interaction creates connected Set or Get nodes without menu diving
- Type inference and color-coding from downstream connections, plus double-click to jump from Get to its paired Set
- JS extensions for node insert (hotkey D) and swap (hotkey S), plus a “shake to disconnect” option
Caveats
- The author notes the collection is “pretty random” and documentation is thin; you’ll be reading tooltips
- Backwards compatibility claim is qualified with “as far as I’m aware currently”
Verdict
Worth a look if your ComfyUI workflows have outgrown flat canvas management and you’re already using subgraphs. Skip if you want a focused, well-documented node pack with clear boundaries — this is a kitchen-sink repo that happens to contain a sophisticated routing system.
Frequently asked
- What is kijai/ComfyUI-KJNodes?
- A grab-bag node pack whose Set/Get rewrite might finally tame your worst workflow tangles.
- Is ComfyUI-KJNodes open source?
- Yes — kijai/ComfyUI-KJNodes is open source, released under the GPL-3.0 license.
- What language is ComfyUI-KJNodes written in?
- kijai/ComfyUI-KJNodes is primarily written in Python.
- How popular is ComfyUI-KJNodes?
- kijai/ComfyUI-KJNodes has 2.8k stars on GitHub.
- Where can I find ComfyUI-KJNodes?
- kijai/ComfyUI-KJNodes is on GitHub at https://github.com/kijai/ComfyUI-KJNodes.