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

Sankey: Better sizing logic #127

Merged
merged 3 commits into from
Feb 7, 2023
Merged

Sankey: Better sizing logic #127

merged 3 commits into from
Feb 7, 2023

Conversation

rokotyan
Copy link
Contributor

@rokotyan rokotyan commented Feb 3, 2023

This PR fixes Sankey sizing issues #126 and #52, and adds a new example to the dev app.

Screen.Recording.2023-02-03.at.10.05.26.AM.web.mp4

#126 Updated `getWidth` and `getHeight`
#52 Limiting Sankey dimensions
#0 Animated transform for `_nodesGroup` and `_linksGroup`
#126 Updated `getWidth` and `getHeight`
@rokotyan rokotyan requested a review from reb-dev February 3, 2023 18:08
@rokotyan rokotyan added the fix Bug fix label Feb 3, 2023
@rokotyan rokotyan added this to the Release v1.0.3 milestone Feb 3, 2023
Copy link
Collaborator

@reb-dev reb-dev left a comment

Choose a reason for hiding this comment

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

@rokotyan I notice if we remove the sizing prop from SingleContainer in the dev example, there is a lot of extra white space and overlapping labels. Should we fix that?

localhost_9500_examples_Sankey_API%20Endpoints%20Tree (2)

@rokotyan
Copy link
Contributor Author

rokotyan commented Feb 6, 2023

@reb-dev At some point yes, but no as part of this PR. I've created a dedicated ticket for it.

Copy link
Collaborator

@reb-dev reb-dev left a comment

Choose a reason for hiding this comment

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

Sounds good!

@rokotyan rokotyan merged commit e0128c5 into main Feb 7, 2023
@rokotyan rokotyan deleted the fix/extended-component-sizing branch May 22, 2023 19:58
reb-dev added a commit that referenced this pull request May 26, 2023
reb-dev added a commit that referenced this pull request May 26, 2023
rokotyan pushed a commit that referenced this pull request May 30, 2023
rokotyan pushed a commit that referenced this pull request Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants