Comfy-Org / Comfy-Org/ComfyUI_frontend

Audit and replace all usages of `app.graph`

Open
#5,373 0 comments 2 reactions 0 assignees View on GitHub
subgraph-v2
Dominant language
TypeScript
Stars
2k
Forks
704
Avg merge
1d 8h
Merged PRs (30d)
512

Description

Details: https://github.com/Comfy-Org/ComfyUI_frontend/pull/5372#issuecomment-3259238062

Audit and replace all usages of `app.graph` with a locator/gateway which allows much easier refactoring of the graph data model, along with making things more compatible with subgraphs (if subgraphs exist, `app.graph` may not be the desired graph that previous sites were expecting/desiring).

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-5373-Audit-and-replace-all-usages-of-app-graph-2656d73d36508159acf7e85dd9a0f91c) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Research direction

Start with the details in the linked PR comment, then audit the frontend for every usage of `app.graph`. Define or locate the locator/gateway intended to replace it, and consider how it selects the desired graph when subgraphs exist; the work is done when the usages no longer rely directly on `app.graph`.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.