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 rotation between horizontal and vertical #1731

Merged
merged 3 commits into from
May 26, 2017

Conversation

monfera
Copy link
Contributor

@monfera monfera commented May 25, 2017

Due to an IE shortcoming a fix was necessary that further deteriorated an already dubious transition between horizontal and vertical Sankey.

This PR has a profound impact on what happens when running the sankey_energy.json mock and switching it from horizontal to vertical and back. As a side effect, while the source code is a tad longer, a lot of lines became shorter and simpler as the new logic has fewer conditionalization on the orientation.

@monfera monfera self-assigned this May 25, 2017
@monfera monfera requested a review from etpinard May 25, 2017 21:33
@alexcjohnson
Copy link
Collaborator

Personally the part of this PR I'm most excited about is that the node/link alignment is cleaner now in vertical orientation (as shown in the baseline image change) 🎉

The transition is good too 😉

💃

@monfera monfera merged commit b0892ce into master May 26, 2017
@monfera monfera deleted the sankey-rotation-squashed branch May 26, 2017 06:03
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.

None yet

2 participants