2.4 KiB
2.4 KiB
ComfyUI Annotations
A lightweight annotation overlay for ComfyUI. Draw freehand notes directly on your workflow canvas.
Features
- Freehand Drawing - Smooth pen strokes with adjustable color, size, and opacity
- World-Space Annotations - Strokes stay anchored to nodes during zoom/pan
- Eraser Tool - Remove strokes with visual cursor feedback
- Undo/Redo - Full history support (Ctrl+Z / Ctrl+Shift+Z)
- Auto-Save - Annotations persist with your workflow file
- Performance Optimized - Handles thousands of strokes smoothly
- Non-Destructive - No workflow data modification
Installation
ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "Annotations"
- Click Install
- Restart ComfyUI
Git Clone
cd ComfyUI/custom_nodes
git clone https://github.com/0dot77/comfyui-annotations.git
Manual
- Download the latest release
- Extract to
ComfyUI/custom_nodes/comfyui-annotations/ - Restart ComfyUI
Quick Start
- Press
Ato toggle annotation mode - Draw with your mouse, trackpad, or pen tablet
- Press
Aagain to exit and resume normal editing - Save your workflow - annotations are included automatically
Keyboard Shortcuts
| Key | Action |
|---|---|
A |
Toggle annotation mode |
P |
Pen tool |
E |
Eraser tool |
T |
Collapse/expand toolbar |
Ctrl+Z |
Undo |
Ctrl+Shift+Z |
Redo |
Escape |
Exit annotation mode |
Toolbar
Located in the top-right corner:
- Mode Toggle - ON/OFF button
- Tools - Pen and Eraser
- Pen Settings - Size, opacity, color presets
- Actions - Undo, Redo, Clear All
Browser Support
| Browser | Status |
|---|---|
| Chrome 90+ | ✅ Full support |
| Edge 90+ | ✅ Full support |
| Firefox 88+ | ✅ Full support |
| Safari 14+ | ✅ Full support |
Uninstall
Remove the comfyui-annotations folder from custom_nodes/ and restart ComfyUI.
Your workflows remain intact - annotations are simply ignored when the extension isn't installed.
Contributing
- Fork the repository
- Create a feature branch
- Submit a pull request
