ComfyUI Animated Links
Visual enhancement extension 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
};
🐞 Troubleshooting
If nothing animates, open the browser console (F12) and run:
AnimatedLinks.debug()
Please include its output when reporting an issue.
📋 Changelog
v2.0 — Current
- 🛠️ Fixed compatibility with newer ComfyUI frontends (tested against 1.61)
- 🌊 Link geometry is now captured through the prototype, so it survives workflow/tab/subgraph changes
- 🧩 Works with Nodes 2.0 (Vue nodes) as well as the classic canvas
- 🔁 Fallback geometry for links the renderer did not report, support for reroutes and link render modes
- 🐞 Added
AnimatedLinks.debug()for diagnostics
v1.0
- 🌊 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 by @comfyanonymous
- Set/Get node support via KJNodes by @kijai
- Made with 🌻 in Ukraine 🇺🇦

