Quay lại Trending
RepositoryJavaScriptVNViệt Nam
phineas-pta

phineas-pta/comfyui-auto-nodes-layout

apply better nodes layout algorithm to ComfyUI workflow

73sao
8fork
2issue
2lượt xem

🧩 Tự động bố cục node thông minh cho ComfyUI workflow

Một tiện ích mở rộng nhỏ gọn mang lại trải nghiệm bố cục workflow gọn gàng và trực quan hơn cho ComfyUI.

comfyui-auto-nodes-layout là một phần mở rộng cho ComfyUI, áp dụng các thuật toán vẽ đồ thị phân tầng (hierarchical graph drawing) thay thế cho tính năng tự sắp xếp mặc định. Dự án nasarđiến từ ý tưởng trong Comfy-Org/ComfyUI#1547, nhằm giải quyết vấn đề lộn xộn các đường nối (wires) trong giao diện ComfyUI.

Trong khi ComfyUI đã có tính năng tự sắp xếp 1 cú nhấp chuột dựa trên phương thức arrange() của LiteGraph.js, cách sắp xếp theo cấp phụ thuộc thường tạo ra giao diện rối mắt. Tiện ích này sử dụng các thư viện bên ngoài như Dagre và ELK để tính toán vị trí các node một cách tối ưu, đảm bảo mọi kết nối đều rõ ràng, dễ nhận biết hướng đi và mối liên kết cụ thể.

✨ Điểm nổi bật

  • Hai thuật toán bố cục: Hỗ trợ cả bố cục Dagre và bố cục phân tầng ELK.
  • Tích hợp dễ dàng: Cài đặt nhanh qua ComfyUI Manager hoặc clone thủ công.
  • Giảm r clutter trực quan: Đảm bảo các đường nối giữa node được hiển thị rõ ràng.
  • Hỗ trợ tùy chỉnh khoảng cách: Điều chỉnh khoảng cách ngang giữa các cột và khoảng cách dọc giữa các node.
  • Tương thích ComfyUI ≥ 0.12.3: Yêu cầu phiên bản ComfyUI mới nhất.

💡 Vì sao đáng chú ý

Khác với cách tiếp cận mặc định của LiteGraph.js, tiện ích này khai thác bản chất của workflow ComfyUI như một đồ thị có hướng không có chu trình (DAG), áp dụng các thuật toán vẽ phân tầng phù hợp. Điều này giúp trình bày logic của workflow trở nên logic và trực quan hơn, đặc biệt hữu ích khi làm việc với các workflow phức tạp.

Tuy nhiên, để đạt hiệu quả tốt nhất, người dùng nên xóa các node ReRoute trước khi áp dụng bố cục, sau đó thêm lại chúng nếu cần thiết để quản lý cácc đường nối bị che khuất.


#ComfyUI #GraphLayout #OpenSource #DAG #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryJavaScript
chanon/comfyui-obvpm

ComfyUI nodes to save time and keep your workflows tidy. Bundle multiple wires into one wire. Create customizable presets nodes.

152
Oct 23, 2026
RepositoryPython
Comfy-Org/ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

149.6k
Dec 2, 2026
RepositoryPython
Carasibana/ComfyUI-H3-FaceRefine

Refine and improve the quality of small faces in MiniMax H3 video. Per-frame face tracking, crop, refine with H3, stitch back.

653
Sep 13, 2026
RepositoryPython
Luisacaotica/ComfyUI-MiniMaxH3Mod

🚧 Under construction — no-training RefMod reference adapters for MiniMax H3 (compress reference images/videos into tiny latents, no training needed).

649
Nov 14, 2026
RepositoryJavaScript
ZhiHui6/zhiai_nodes_comfyui

ComfyUI custom nodes featuring prompt generation/expansion, multi-platform translation, AI vision understanding, image processing, and video prompt tools. ComfyUI自定义节点合集,涵盖提示词生成/扩写、多平台翻译、AI视觉理解、图像处理、视频提示词生成等功能。

184
Nov 23, 2026
RepositoryJavaScript
artokun/comfyui-mcp-panel

The local-first sidebar AI agent for ComfyUI — runs on your own Claude OR ChatGPT subscription (no API keys, no extra LLM costs). Drives your live graph: edits, workflows & installs in natural language. The panel UI for comfyui-mcp, the agent-native control plane for ComfyUI.

145
Oct 26, 2026
RepositoryJavaScript
MajoorWaldi/ComfyUI-Majoor-OmniCam

Majoor OmniCam is a camera layout and animation tool for ComfyUI. It lets you prepare camera motion without running image or video generation while editing. You can position cameras, create keyframes, preview motion, and record a simple reference video for compatible video models.

96
Oct 19, 2026
Modelimage-to-video
RuneXX/LTX-2.3-Workflows

Your browser does not support the video tag. The workflows are based on the extracted models from https://huggingface.co/Kijai/LTX2.3comfy The extracted models might run easier on your computer (as separate files). (but you can easily swap out the m...

♥0
0
Aug 28, 2026
RepositoryPython
Enemyx-net/VibeVoice-ComfyUI

A comprehensive ComfyUI integration for Microsoft's VibeVoice text-to-speech model, enabling high-quality single and multi-speaker voice synthesis directly within your ComfyUI workflows.

1.6k
Feb 18, 2026