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

Moving union ingores groups #963

Open
JensWinkler91 opened this issue Aug 7, 2023 · 2 comments
Open

Moving union ingores groups #963

JensWinkler91 opened this issue Aug 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@JensWinkler91
Copy link

The current behavior

I'm using the following snippet to create a union that contains all current nodes and groups.
My goal is to select all nodes and groups so i can move them all at once.

const data = this.canvas.getDataMap();
this.canvas.add2Union("selectAll", data);

If i move a node, all other nodes are moved but the position of the groups do not change.

The expected behavior

I'd expect that the position of nodes and groups change.

Your environment(such as: Butterfly version、Browser version、OS and so on)

Butterfly version: 4.3.27

@JensWinkler91 JensWinkler91 added the bug Something isn't working label Aug 7, 2023
@JensWinkler91 JensWinkler91 changed the title Moving a union ingores groups Moving union ingores groups Aug 7, 2023
@noonnightstorm
Copy link
Collaborator

It`s a little difficult, may be I will support later.

@JensWinkler91
Copy link
Author

Ok that would be great. Otherwise the behavior would be inconsistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants