Comfy-Org / Comfy-Org/ComfyUI_frontend

[DevTask] Remove interim API

Open
#4,713 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.