Skip to content

Commit aff34a3

Browse files
committed
Add new test mocks
1 parent bd525ea commit aff34a3

8 files changed

+104
-0
lines changed
29.9 KB
Loading
33.7 KB
Loading
29.7 KB
Loading
33 KB
Loading
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"data": [
3+
{
4+
"type": "sankey",
5+
"node": {
6+
"label": ["0", "1", "2", "3", "4", "5"],
7+
"align": "center"
8+
},
9+
"link": {
10+
"source": [
11+
0, 1, 4, 2, 1
12+
],
13+
"target": [
14+
1, 4, 5, 4, 3
15+
],
16+
"value": [
17+
4, 2, 3, 1, 2
18+
]
19+
}
20+
}],
21+
"layout": {
22+
"title": {"text": "Sankey with center aligned nodes"},
23+
"width": 800,
24+
"height": 800
25+
}
26+
}
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"data": [
3+
{
4+
"type": "sankey",
5+
"node": {
6+
"label": ["0", "1", "2", "3", "4", "5"],
7+
"align": "justify"
8+
},
9+
"link": {
10+
"source": [
11+
0, 1, 4, 2, 1
12+
],
13+
"target": [
14+
1, 4, 5, 4, 3
15+
],
16+
"value": [
17+
4, 2, 3, 1, 2
18+
]
19+
}
20+
}],
21+
"layout": {
22+
"title": {"text": "Sankey with justified node alignment"},
23+
"width": 800,
24+
"height": 800
25+
}
26+
}
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"data": [
3+
{
4+
"type": "sankey",
5+
"node": {
6+
"label": ["0", "1", "2", "3", "4", "5"],
7+
"align": "left"
8+
},
9+
"link": {
10+
"source": [
11+
0, 1, 4, 2, 1
12+
],
13+
"target": [
14+
1, 4, 5, 4, 3
15+
],
16+
"value": [
17+
4, 2, 3, 1, 2
18+
]
19+
}
20+
}],
21+
"layout": {
22+
"title": {"text": "Sankey with left aligned nodes"},
23+
"width": 800,
24+
"height": 800
25+
}
26+
}
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"data": [
3+
{
4+
"type": "sankey",
5+
"node": {
6+
"label": ["0", "1", "2", "3", "4", "5"],
7+
"align": "right"
8+
},
9+
"link": {
10+
"source": [
11+
0, 1, 4, 2, 1
12+
],
13+
"target": [
14+
1, 4, 5, 4, 3
15+
],
16+
"value": [
17+
4, 2, 3, 1, 2
18+
]
19+
}
20+
}],
21+
"layout": {
22+
"title": {"text": "Sankey with right aligned nodes"},
23+
"width": 800,
24+
"height": 800
25+
}
26+
}

0 commit comments

Comments
 (0)