Greg 0861d7ed13 v0.4.0: drag-to-reorder rows + custom order persisted to localStorage
Lets users define a workflow sequence (step 1 → step 2 → ...) by
dragging rows in the panel. Order is independent of rgthree's
auto-sort and persists across reloads.

How it works:
- Each row gets draggable="true" + HTML5 DnD handlers.
- On drop, reorderGroup(moving, target, before|after) computes the new
  ordering, writes it to localStorage (ORDER_KEY), and re-renders.
- Drop indicator: inset top/bottom box-shadow in the accent color
  showing where the dragged row will land.
- sortByCustomOrder() applied at the end of getNavigableGroups so the
  matchColors filtering still happens first.
- Groups not yet in the saved order keep relative order and end up
  after listed ones. New groups auto-append on the next reorder write.

Shortcut badges follow the new order — 1..9 always map to the first 9
rows as they appear in the panel, so dragging a group to the top
assigns it shortcut "1" (assuming no custom override).

Settings panel gains two reset buttons: "Reset row order" (just the
order) and "Reset all settings" (colors + shortcuts + order).
2026-05-25 05:06:26 -05:00

comfyui-navigator

Floating side panel that lists every group in your current workflow and lets you jump between them instantly. For graphs that span 30000+ pixels with 15+ workflows-within-a-workflow, this turns "scroll forever to find the upscale section" into "click the row, you're there."

What it does

  • Auto-detects every group on the open workflow (no setup, no node to drop)
  • Click a row → animated pan + zoom to fit that group on screen
  • Search box at the top — type "qwen" to narrow to Qwen groups
  • Right-click a row → Solo run (mutes every other group via rgthree's Fast Groups Muter if installed, falls back to per-node mode flag if not)
  • Right-click → Reset to re-enable everything
  • Keyboard 1–9 jumps to the first nine groups
  • Drag the header to move the panel anywhere; collapse with ▾
  • Position + collapsed state persisted across reloads (localStorage)

Hides itself automatically if the workflow has fewer than 2 groups (nothing to navigate between).

Install

cd <ComfyUI>/custom_nodes
git clone <repo-url> comfyui-navigator

Restart ComfyUI. The panel appears in the top-right of the canvas whenever you open a workflow with multiple groups.

  • Fast Groups Muter (rgthree) — drop one on the graph and Solo / Reset drive it directly. Without it, Solo falls back to flipping node.mode = LiteGraph.NEVER per-node (cruder, no chip indicators).

License

MIT

S
Description
No description provided
Readme MIT
81 KiB
Languages
JavaScript 83%
CSS 16%
Python 1%