-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add support for sankey links with arrows #6276
Conversation
4f3503a
to
b2e0190
Compare
Thanks @Andy2003 - that's a nice effect 😎 I'd call it a length though, since it's along the direction of the link, rather than a width which is typically perpendicular to the direction of the object. So Two cases I'm curious about:
|
* rename `arrowwidth` for sankey diagram to `arrowlen` * add test vor vertical orientation * check available space for arrows and apply max 50% of it to arrows
56d2877
to
2e4b5a2
Compare
Looks great! We'll need to figure out why the tests are failing, and let's see if @archmoj has any further comments. |
Please run the command below to commit the changes to plot-schema test. npm run schema && git add test/plot-schema.json && git commit -m "update plot-schema diff" There is a bug in our current image tests system. Thanks. |
By renaming the test files, they are run at the end of the tests (plotly#6276 (comment))
💃 💃 |
Co-authored-by: Mojtaba Samimi <33888540+archmoj@users.noreply.github.com>
This pull request adds a configuration to add arrows to the links in the sankey diagram.
Given the following configuration:
The following sankey diagram is generated: