How rgthree/rgthree-comfy works
rgthree-comfy is a ComfyUI extension combining custom workflow nodes, canvas and workflow usability features, and model-information/configuration services. Users build or adjust graphs in ComfyUI; its execution invokes the extension’s backend nodes and returns workflow outputs, while frontend services track execution and support graph interactions. The README documents more node capabilities than the sampled source verifies; those are represented at their existing source paths without asserting internal wiring. Backend model routes and frontend model-info calls are included where excerpts show their responsibilities.
Main entry points: model_info_service.ts Model Info Service · routes_model_info.py Model Info Routes · context.py Context Nodes · routes_config.py Config Routes
Components 21
Workflow Nodes
- Context Nodes
py/context.py - Context Switches
py/context_switch.py - Context Merges
py/context_merge.py - Prompt Nodes
py/power_prompt.py - Power LoRA Loader
py/power_lora_loader.py - Seed Node
py/seed.py - Image Nodes
py/image_comparer.py - Display Any
py/display_any.py
Canvas Features
- Bookmarks
web/comfyui/bookmark.js - Graph Controls
web/comfyui/fast_groups_muter.js - Reroute Node
web/comfyui/reroute.js - Context UI
web/comfyui/context.js
Frontend Services
- Prompt Tracking
src_web/common/prompt_service.ts - Model Info Service
src_web/common/model_info_service.ts - Config Service
web/comfyui/services/config_service.js - Model Info Page
web/models/models_info_page.js
Backend APIs
- Model Info Routes
py/server/routes_model_info.py - Config Routes
py/server/routes_config.py
Other components
- ComfyUI User
- ComfyUI
- ComfyUI Model Files
Connections 19
- ComfyUI User → ComfyUI: edits workflow
- ComfyUI → Context Nodes: executes nodes
- ComfyUI → Context Switches: executes nodes
- ComfyUI → Context Merges: executes nodes
- ComfyUI → Prompt Nodes: executes nodes
- ComfyUI → Power LoRA Loader: executes nodes
- ComfyUI → Seed Node: executes nodes
- ComfyUI → Image Nodes: executes nodes
- ComfyUI → Display Any: executes nodes
- ComfyUI User → Bookmarks: navigates graph
- ComfyUI User → Graph Controls: toggles groups
- ComfyUI User → Reroute Node: routes connections
- Context UI → Context Nodes: configures slots
- ComfyUI → Prompt Tracking: queues prompts
- Model Info Page → Model Info Service: requests model info
- Model Info Service → Model Info Routes: fetches and updates
- Model Info Routes → ComfyUI Model Files: lists model files
- ComfyUI User → Config Routes: configures extension
- Config Service → Config Routes: reads configuration