Skip to content

Commit

Permalink
Add mock for Sankey with circular links and right alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreeve committed Dec 5, 2023
1 parent 4898355 commit 2f3e274
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
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", "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": "Sankey with circular data, aligned right",
"width": 800,
"height": 800
}
}

0 comments on commit 2f3e274

Please sign in to comment.