Comfy-Org / Comfy-Org/ComfyUI_frontend

Best practice advice on developing custom_node please

Open
#10,271 5 comments 0 reactions 0 assignees View on GitHub
area:mask-editor Custom Node
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

Hi, i have a problem with custom_node development, it's not very obvious how to interact with some features like mask editor and such.

i had a working custom_node some releases ago, but you changed something in the mask editor and i can't find out.
i tried adding the entire ComfyUI_frontend as additional directory to my workspace of a custom_node, but doubt its most effective way. any suggestions?

as for the problem - i had a custom preview image node that used to work with a batch of images and allowed individual mask on every image in a batch. but with new ComfyUI version it always opens first frame in the mask editor, so I have to stay on the old version, until i manage to fix it.

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-10271-Best-practice-advice-on-developing-custom_node-please-3276d73d3650814a961ef4d20a9433cf) 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.