8000 Expose the node alignment property for Sankey plots by adamreeve · Pull Request #6800 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

Expose the node alignment property for Sankey plots #6800

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

Merged
merged 6 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add mock for Sankey with circular links and right alignment
  • Loading branch information
adamreeve committed Dec 5, 2023
commit ccff898604f39adfbd7fdea0a8d296f0eeff3621
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions test/image/mocks/sankey_circular_align_right.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"data": [
{
"type": "sankey",
"node": {
"pad": 5,
"align": "right",
"label": ["0", "1", "2", "3", &q 62C1 uot;4", "5", "6"]
},
"link": {
"source": [
0, 0, 1, 2, 5, 4, 3
],
"target": [
5, 3, 4, 3, 0, 2, 2
],
"value": [
1, 2, 1, 1, 1, 1, 1
]
}
}],
"layout": {
"title": {"text": "Sankey with circular data, aligned right"},
"width": 800,
"height": 800
}
}
0