正在自动登录…
safzanpirani/ comfyui-zip-ties
为ComfyUI提供线束整理功能的前端扩展,通过扎带将杂乱连线捆绑成束,支持拖拽、旋转、着色等操作,适用于需要整理复杂工作流连线的ComfyUI用户。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/26 20:56:57 · 查看原文
- 累计 Stars
- 60
- 当前热度
- 1 天内 · 小火
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/10/26 20:56:57
- 使用方式
作为ComfyUI前端扩展,通过鼠标和键盘手势操作,如按住Z键拖拽连线创建扎带,右键菜单调整颜色等。
查看 README 依据
# Zip Ties for ComfyUI A frontend extension that bundles wires into a ribbon with small zip ties. The idea comes from a [prototype by @cmzw_](https://x.com/cmzw_/status/2114315567977107653).  The full recording is [zip-ties-demo.mp4](zip-ties-demo.mp4). ## Use | Action | Gesture | |---|---| | Tie wires together | Hold `Z` and drag a line across the wires |
| Tie wires without a keyboard | Right-click the empty canvas, choose **Tie wires**, then drag a line across the wires | | Move a tie | Drag the tie | | Select several ties | Ctrl/Cmd-click each tie, Shift-click to add one, or drag a selection box across them together with nodes | | Move selected ties | Drag one of them, or drag a selected node and they come along | | Delete selected ties | Press Delete or Backspace | | Rotate a tie | Shift-drag the tie. It snaps to 15° steps; hold Alt as well to rotate freely | | Change colour, rotate 90° or 45°, remove | Right-click the tie |
- 部署要求
需要ComfyUI环境,通过ComfyUI-Manager或Comfy CLI安装,或手动克隆到custom_nodes目录。
查看 README 依据
Ties are stored in the workflow's `extra.zipTies`, so they save, load and undo with the rest of the graph. Workflows opened without the extension still load; the wires draw normally. A malformed `zipTies` entry is dropped when the workflow loads. A tie is hidden, and cannot be clicked, while none of its wires are drawn: when links are hidden for the whole canvas, or when every wire in the tie was hidden with **Hide Link**. It comes back when one of its wires is shown again. ## Install Search for "Zip Ties" in ComfyUI-Manager, or install it with the Comfy CLI: ```sh
comfy node install comfyui-zip-ties ``` To install by hand, clone into `ComfyUI/custom_nodes` and restart ComfyUI: ```sh cd ComfyUI/custom_nodes git clone https://github.com/safzanpirani/comfyui-zip-ties ``` The extension adds no nodes and has no Python dependencies. ## How it works The extension is one file, `web/zip_ties.js`. It wraps these litegraph methods on the canvas:
- 已知限制
从链接徽章绘制的路由片段无法捆绑;直线和线性链接模式下切割测试按直线处理,可能影响效果;已在ComfyUI 0.42.0和前端1.57.1上测试。
查看 README 依据
The drag gesture runs in capture-phase listeners on `window`, so it sees pointer events before litegraph and can claim them when the key is held or a tie is hit. The line is tested against each wire's bezier curve. When a new tie's wires all already belong to another tie, it copies that tie's strand order so wires never cross inside the bundle. ## Limits - A reroute piece that is drawn from a link badge (the hidden-link shortcut) cannot be tied.
- The ribbon shape is tuned for spline links. Straight and linear link modes still route through the ties, but the cut test treats each segment as a straight line. - Tested on ComfyUI 0.42.0 with frontend 1.57.1, in both the classic canvas and Vue nodes mode. ## License MIT
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/10/26 01:54:54
- 首次达标收录
- 2026/10/26 20:51:59
- 统计更新时间
- 2026/10/26 23:06:36
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 4.0 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/10/26 20:51:59 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/10/26 18:37:52
- 许可证标识
- MIT
- Fork 数
- 4
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目