ComfyUI-AnimatedLinks
A visual enhancement extension for ComfyUI that adds animated arrows to links on hover and highlights Set/Get node pairs.
ComfyUI-AnimatedLinks ✨
A visual enhancement extension for ComfyUI that adds animated arrows to links on hover and highlights Set/Get node pairs.
🌻 Features
<!-- Replace with actual screenshots/webp when ready -->| Feature | Preview | |---|---| | 🌊 Animated arrows on hover | <video src="https://github.com/user-attachments/assets/189f020e-0b3f-4464-8b6e-aaec55aa47af" controls loop muted width="400"></video> | | 🌻 Set/Get node highlighting | <video src="https://github.com/user-attachments/assets/b6036154-6adb-4478-b8d0-a833cac629f3" controls loop muted width="400"></video> |
🌊 Animated Link Arrows
- Hover over any node to animate all its connected links
- Rainbow colored moving arrows that show data flow direction
- Arrow count scales dynamically with link length — short links get fewer arrows, long links get more
- Consistent animation speed regardless of link length
- Beautiful glow effect with colored shadows
🌾 Set/Get Node Highlighting
- Hover over a SetNode → highlights it in yellow + highlights all matching GetNodes in cyan
- Hover over a GetNode → highlights it in cyan (pulsing) + highlights the corresponding SetNode in yellow
- Works with collapsed nodes — highlight adapts to the actual node shape
- Compatible with KJNodes Set/Get nodes
⚡ Performance
- Only renders when mouse is over a node — zero overhead when idle
- Uses ComfyUI's native rendering pipeline
- Compatible with ComfyUI Frontend v1.41+
📦 Installation
Option 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Click Install Custom Nodes
- Search for
ComfyUI-AnimatedLinks - Click Install
- Restart or run ComfyUI.
Option 2: Git Clone
cd ComfyUI/custom_nodes/
git clone https://github.com/Bob-Bar-B-Que/ComfyUI-AnimatedLinks.git
Restart or run ComfyUI.
Option 3: Manual Install
- Download this repository as ZIP (Code → Download ZIP)
- Extract into
ComfyUI/custom_nodes/ComfyUI-AnimatedLinks/ - Make sure the folder contains
__init__.pyandweb/animated_links.js - Run ComfyUI
Option 4: Portable / Windows
- Download ZIP and extract to:
ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimatedLinks\ - Restart or run ComfyUI.
🌻 How to Use
Animated Arrows
Simply hover your mouse over any node — all connected links will animate with flowing directional arrows.
🌾 Set/Get Highlighting
- Install KJNodes to use Set/Get nodes
- Hover over a SetNode to see which GetNodes use the same value
- Hover over a GetNode to see where the value comes from
⚙️ Configuration
You can tweak the animation by editing the CONFIG object at the top of web/animated_links.js:
const CONFIG = {
arrowSize: 7, // Size of arrow triangles
arrowSpacing: 120, // Minimum distance between arrows (graph pixels)
dotSpeed: 0.0008, // Animation speed
rainbow: true, // true = rainbow colors, false = fixed color
fixedColor: "#00cfff", // Color when rainbow is false
glowWidth: 8, // Width of the glow line
glowBlur: 18, // Intensity of the glow effect
};
📋 Changelog
v1.0 — Current
- 🌊 Animated directional arrow triangles
- 🌾 Dynamic arrow count based on link length
- ⚡ Normalized animation speed across all link lengths
- 🌻 Set/Get node pair highlighting with pulsing effect
- 🇺🇦 Full compatibility with ComfyUI Frontend 1.41+
- Uses real ComfyUI render pipeline for accurate bezier curves
🌻 Support the Project
If this extension helps your workflow, consider supporting a Ukrainian developer 🇺🇦
🌻 Donatello (Ukrainian platform)
🌾 Monobank
Scan the QR code or click on it to open the bank:
🪙 Crypto — USDT TRC20
Scan the QR code or click on it to copy the address:
## 📄 License
MIT License — free to use, modify and distribute.
---
## 🌾 Credits
- Built for [ComfyUI](https://github.com/comfyanonymous/ComfyUI) by [@comfyanonymous](https://github.com/comfyanonymous)
- Set/Get node support via [KJNodes](https://github.com/kijai/ComfyUI-KJNodes) by [@kijai](https://github.com/kijai)
- Made with 🌻 in Ukraine 🇺🇦

