Image & Video

"Lighthouse" mode for ComfyUI — click any node and the rest of the workflow lights up by graph distance. Direct dependencies red, then orange, yellow, green, blue, violet.

Click any node to instantly see which nodes affect it, color-coded by distance.

Deep Dive

For anyone building or troubleshooting Stable Diffusion workflows in ComfyUI, tracing wires across 20+ nodes is a major time sink. Developer shootthesound created Lighthouse to solve this visually. After setting an anchor node (right-click → 'Anchor from this node'), the entire canvas is color-coded by graph distance. Direct upstream and downstream neighbors glow red, two hops orange, three yellow, four green, five blue, and six or more hops (or completely disconnected) appear violet. The anchored node gets a bright white double-ring. The tool is bidirectional, so it walks both inputs[i].link and outputs[i].links, ensuring every connection is accounted for.

Two primary use cases make Lighthouse valuable. First, diagnostics: quickly answer 'What does this node feed into?' or 'Is anything still consuming this model?' — no manual wire tracing needed. Second, education: when downloading a 60-node mystery workflow, anchor on the CheckpointLoader to see the entire influence radius of a model, anchor on the KSampler to see its inputs, or anchor on SaveImage to walk the chain backward. A focus slider in the legend panel lets users progressively darken distant bands; at max, only 1-hop neighbors remain visible — perfect for dense graphs or learning quizzes. Lighthouse is non-destructive (writes only to its own draw hook) and can be toggled off without altering any node state. Install via ComfyUI Manager (search 'Lighthouse') or clone from GitHub into custom_nodes/.

Key Points
  • Color-codes nodes by distance from anchor: red (1 hop), orange (2), yellow (3), green (4), blue (5), violet (6+).
  • Includes focus slider to dim distant nodes, allowing surgical inspection of immediate neighbors.
  • Bidirectional: traces both upstream inputs and downstream outputs simultaneously.

Why It Matters

Makes complex ComfyUI workflows instantly navigable, saving hours of manual wire tracing.