Comfy-Org / Comfy-Org/ComfyUI_frontend
Split large classes into smaller, more manageable objects
Open
developer experience
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
LGraphCanvas, LGraph, and LGraphNode contain thousands of lines of code (2.5-7.5K), and are difficult to maintain. LGraphCanvas in particular has a delay on save when using formatters.
Functions from these classes may be split into child classes, e.g. `LinkConnector`.
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4708-Split-large-classes-into-smaller-more-manageable-objects-2476d73d36508149adece90bd40cbcac) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.