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 cluster's box shadows nodes inside it after animated transition #309

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

magjac
Copy link
Owner

@magjac magjac commented Apr 29, 2024

Fixes #308.

magjac added 2 commits April 29, 2024 22:26
Ensure that the elements are inserted into the document in the order
given by the data in order to avoid clusters being inserted after
nodes and therefore covering them.

From https://d3js.org/d3-selection/joining#selection_data:

"If a key function is specified, the order of elements in the
selection may not match their order in the document; use
selection.order or selection.sort as needed"

Fixes #308.
@magjac magjac enabled auto-merge April 29, 2024 20:28
@magjac magjac merged commit a7d5a75 into master Apr 29, 2024
4 checks passed
@magjac magjac deleted the fix-issue-308 branch April 29, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cluster's box shadows nodes inside it after animated transition
1 participant