ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[Feature Request]: Dynamically change input and widget position

Open StableLlama opened this issue 7 months ago • 0 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

I want to add an input and/or a widget at a custom place and not at the end. I also want to be able to resort the input and widget position (a simple swap would help to keep things simple)

Reason: I'm creating a if/then/elif/.../else custom node. So I need to be able to add a elif_123 and then_123 widget and input at the corresponding places in the list.

Proposed workflow

Implement a input_swap(indexA, indexB) and/or widget_swap(indexA, indexB) method to the ComfyNode class.

Additional information

No response

┆Issue is synchronized with this Notion page by Unito

StableLlama avatar May 21 '25 20:05 StableLlama