Comfy-Org / Comfy-Org/ComfyUI_frontend
[DevTask] Remove interim API
Open
area:litegraph
developer experience
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
LGraphCanvas now emits `connect-new-default-node` as a `CustomEvent`, providing a method to prevent the linking of a new node created for a slot.
The parent method `createDefaultNodeForSlot` should be broken into multiple strongly typed methods. The current impl. is a complex duck-typed union of assorted approaches.
The interim `connect-new-default-node` event should be replaced with a proper API once complete.
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4713-DevTask-Remove-interim-API-2476d73d3650817b8293f5dfc6b1b423) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.