ComfyUI Extension: ComfyUI-CrosshairGuidelines
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Crosshair guidelines to help align nodes and groups while moving or resizing.
Looking for a different extension?
Custom Nodes (0)
README
ComfyUI-CrosshairGuidelines
https://github.com/user-attachments/assets/94340d82-08f5-41cd-9a0d-37e0e9b56d1a
Crosshair guidelines for ComfyUI to help align nodes and groups while moving or resizing.
Installation
Install via ComfyUI Manager or clone this repo into ComfyUI/custom_nodes/ComfyUI-CrosshairGuidelines.
[!NOTE] Nodes 2.0 support is best-effort and may vary slightly between ComfyUI releases.
Features
- Crosshair guidelines on move and resize (nodes and groups).
- Adjustable move, resize, and idle modes.
CTRL behaviormode (show,hide,off) for modifier-key-driven visibility.- Customizable color and line thickness.
- Link and node opacity dimming so the active object stays visually prominent.
- Optional hiding of the active outline during move/resize.
Settings
All settings appear under Crosshair Guidelines in ComfyUI settings.
move_mode:offorall.resize_mode:off,selected, orall.idle_mode:offorall.ctrl_behavior:show: hide crosshairs during node/group interactions unlessCtrl/Metais held.hide: show crosshairs normally, but hide whileCtrl/Metais held.off: ignoreCtrl/Meta.- Does not affect marquee multi-select (marquee always suppresses crosshairs).
color: Any CSS color value (including hex with alpha like#RRGGBBAA, plusrgb/rgba/hsland named colors).thickness: Line width in pixels.link_opacity: Multiplier for link opacity during move/resize (0–1).node_opacity: Multiplier for node/group opacity during move/resize (0–1).hide_active_outline: Hides the active node/group outline while moving or resizing.diagnostics: Writes Crosshair Guidelines debug output to the browser console. Disabled by default.
Diagnostics
- Optional diagnostics are disabled by default and can be enabled from the Crosshair Guidelines settings panel.
- For troubleshooting settings-load issues only,
localStorage["crosshair_guidelines.diagnostics"] = "true"orwindow.__crosshair_guidelines_diagnostics = truealso enables diagnostics.
Notes
- The JavaScript contains a lot of defensive compatibility logic for different ComfyUI / LiteGraph / Nodes 2.0 variants, plus input handling and rendering edge cases. Refactoring is being staged into smaller modules while preserving compatibility.
link_opacityandnode_opacityaffect all objects except the active one.- Link creation drags (including slot-handle/slot-label starts) suppress crosshairs.
- Tested on Microsoft Edge.
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.