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

fix(DagreGroupLayout): Keep node order when groups are collapsed #231

Merged

Conversation

jeff-phillips-18
Copy link
Member

What

Closes #230

Description

On layout, add the nodes to the Dagre layout in the same order given to the graph. This maintains the ordering in the graph when groups are collapsed/expanded.

Type of change

  • [x ] Bugfix

/cc @lordrip

@patternfly-build
Copy link

Copy link
Contributor

@lordrip lordrip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @jeff-phillips-18

@jeff-phillips-18 jeff-phillips-18 merged commit e444dd3 into patternfly:main Aug 8, 2024
8 checks passed
@jeff-phillips-18 jeff-phillips-18 deleted the dagre-groups-ordering branch August 8, 2024 18:42
Copy link

github-actions bot commented Aug 8, 2024

🎉 This PR is included in version 5.4.0-prerelease.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DagreGroupsLayout doesn't keep the graph order
4 participants