Skip to content

Commit 2f3e274

Browse files
committed
Add mock for Sankey with circular links and right alignment
1 parent 4898355 commit 2f3e274

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

Diff for: test/image/baselines/sankey_circular_align_right.png

35.3 KB
Loading

Diff for: test/image/mocks/sankey_circular_align_right.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"data": [
3+
{
4+
"type": "sankey",
5+
"node": {
6+
"pad": 5,
7+
"align": "right",
8+
"label": ["0", "1", "2", "3", "4", "5", "6"]
9+
},
10+
"link": {
11+
"source": [
12+
0, 0, 1, 2, 5, 4, 3
13+
],
14+
"target": [
15+
5, 3, 4, 3, 0, 2, 2
16+
],
17+
"value": [
18+
1, 2, 1, 1, 1, 1, 1
19+
]
20+
}
21+
}],
22+
"layout": {
23+
"title": "Sankey with circular data, aligned right",
24+
"width": 800,
25+
"height": 800
26+
}
27+
}

0 commit comments

Comments
 (0)