Comfy-Org / Comfy-Org/ComfyUI_frontend

Pinning

Open
#6,431 0 comments 0 reactions 0 assignees View on GitHub
area:groups area:ui Feature
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Feature Idea

To pin means to fix something in place.

![Image](https://github.com/user-attachments/assets/1cf2172a-8c4a-475b-8e7f-3884d0364ce1)

If I move a group with pinned nodes, I expect, that the nodes are pinned to the group, but it isn't. The nodes are teared off the group instead. Looks strange.

![Image](https://github.com/user-attachments/assets/3c1641fa-9ce8-406c-aa41-37d6d0871209)

I would expect, that a pinned node in a group can't be moved inside the group, but moved with the group. It should not be possible to change the groups border, so that the pinned node comes lying outside of the group.

![Image](https://github.com/user-attachments/assets/209ed3ea-f7e6-4cfb-9ba8-0400d76a2d12)

A group should also have the option to be pinned.
Maybe also a possibility to collapse / expand, to hide it's content.

Because Group nodes can be set to be disabled or bypassed, it makes no sense, if a pinned node will be left outside after a movement of the group and needs to be reset separately outside of the group.

![Image](https://github.com/user-attachments/assets/fb0c30b8-b593-4e26-800e-93a78ac3e99f)

![Image](https://github.com/user-attachments/assets/e041e6bf-f80b-4fc6-9006-b63fc61a154d)

![Image](https://github.com/user-attachments/assets/37539647-50a8-4158-88b8-9281fa7bb5e4)

### Existing Solutions

None

### Other

None

---

*This issue is transferred from: https://github.com/comfyanonymous/ComfyUI/issues/7000*

Original issue was created by @schoenid at 2025-02-27T16:36:36.000Z

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6431-Pinning-29c6d73d36508180b844c13f686e4e67) 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.