Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow "direct" grouping in Tree Window #680

Open
falko17 opened this issue Dec 9, 2023 · 0 comments
Open

Allow "direct" grouping in Tree Window #680

falko17 opened this issue Dec 9, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@falko17
Copy link
Collaborator

falko17 commented Dec 9, 2023

Currently, the Tree Window can only group items together in a hierarchy-preserving way,
that is, elements that do not belong to a given group are still displayed as long as they have a descendant that is in the group.
We should also make it possible to disable this behavior such that only elements that are actually in a given group are included – we will call this "direct" grouping for the purposes of this issue.
As both behaviors are desirable in different situations, we should add a simple checkbox to the grouping menu that controls this.

As an example, in the first illustration below (assuming A and B are child nodes of R), the current behavior is illustrated: the relevant node hierarchy above the edges is included even though the reflexion state group is only applicable to edges.

image

Now, in the next illustration, we can see the desired behavior for this example when "direct" grouping is enabled.

image

@falko17 falko17 added the enhancement New feature or request label Dec 9, 2023
@falko17 falko17 self-assigned this Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant