ComfyUI Smart Guides: snap nodes so wires stay straight
Smart Guides is a free, MIT-licensed ComfyUI extension that snaps nodes into line and adds alignment tools for tidier node graphs.
This MIT-licensed extension snaps a node, as you drag it, to where its wires run horizontal and to other nodes' edges, adds align and distribute buttons to the selection toolbox and lets you resize groups from any corner. It works with the classic canvas and Nodes 2.0 and installs from ComfyUI Manager.
Why it mattersLarge graphs that stay readable.
What it does
ComfyUI is a node-based tool for image and video generation. Each step is a box, called a node, joined to others by wires. Smart Guides helps you arrange those boxes. When you drag or resize a node or a group, it snaps to positions where its wires run flat, to the edges of other nodes and to the edges of other groups. Guide lines show the aligned edges. Holding Shift turns the snapping off.
The extension also adds align and distribute buttons to the selection toolbox, the small menu that appears above selected nodes. Selecting two or more nodes lets you align their edges or centres, match their width or height, or spread them out evenly. After a distribute, dragging one gap handle changes all the gaps together. Groups can be resized from any of their four corners.
- Settings sit under Settings, then Smart Guides in ComfyUI.
- You can switch each snap type on or off, set the snap distance in screen pixels and choose the guide colour.
- If the selection toolbox is hidden in ComfyUI's settings, the align button appears next to the Run button instead.
What you need
The README says it works with both the classic canvas and Nodes 2.0. It is installed by searching for Smart Guides in ComfyUI Manager. The project page does not list system requirements, tested ComfyUI versions or known limits.
Price and licence
The extension is free and released under the MIT licence, which allows use and change, including in commercial work. The source code is on GitHub under the author's account nomadoor.

