@carbon/charts 0.52.1 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,29 +10,159 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  export var alluvialSimpleData = [
13
- { source: 'A', target: 'X', value: 3 },
14
- { source: 'A', target: 'Y', value: 5 },
15
- { source: 'A', target: 'Z', value: 8 },
16
- { source: 'B', target: 'X', value: 6 },
17
- { source: 'B', target: 'Y', value: 1 },
18
- { source: 'B', target: 'Z', value: 7 },
19
- { source: 'C', target: 'X', value: 5 },
20
- { source: 'C', target: 'Y', value: 5 },
21
- { source: 'C', target: 'Z', value: 1 },
13
+ {
14
+ source: 'About Modal',
15
+ target: 'Data and AI, AI Apps',
16
+ value: 5,
17
+ },
18
+ {
19
+ source: 'About Modal',
20
+ target: 'Data and AI, Info Architecture',
21
+ value: 4,
22
+ },
23
+ {
24
+ source: 'About Modal',
25
+ target: 'Public Cloud',
26
+ value: 3,
27
+ },
28
+ {
29
+ source: 'About Modal',
30
+ target: 'Security',
31
+ value: 4,
32
+ },
33
+ {
34
+ source: 'About Modal',
35
+ target: 'Automation',
36
+ value: 8,
37
+ },
38
+ {
39
+ source: 'Cards',
40
+ target: 'Data and AI, AI Apps',
41
+ value: 6,
42
+ },
43
+ {
44
+ source: 'Cards',
45
+ target: 'Data and AI, Info Architecture',
46
+ value: 15,
47
+ },
48
+ {
49
+ source: 'Cards',
50
+ target: 'Public Cloud',
51
+ value: 2,
52
+ },
53
+ {
54
+ source: 'Cards',
55
+ target: 'Security',
56
+ value: 10,
57
+ },
58
+ {
59
+ source: 'Cards',
60
+ target: 'Automation',
61
+ value: 13,
62
+ },
63
+ {
64
+ source: 'Create Flow',
65
+ target: 'Data and AI, AI Apps',
66
+ value: 2,
67
+ },
68
+ {
69
+ source: 'Create Flow',
70
+ target: 'Data and AI, Info Architecture',
71
+ value: 15,
72
+ },
73
+ {
74
+ source: 'Create Flow',
75
+ target: 'Public Cloud',
76
+ value: 1,
77
+ },
78
+ {
79
+ source: 'Create Flow',
80
+ target: 'Security',
81
+ value: 6,
82
+ },
83
+ {
84
+ source: 'Create Flow',
85
+ target: 'Automation',
86
+ value: 15,
87
+ },
88
+ {
89
+ source: 'Notifications',
90
+ target: 'Data and AI, Info Architecture',
91
+ value: 14,
92
+ },
93
+ {
94
+ source: 'Notifications',
95
+ target: 'Public Cloud',
96
+ value: 3,
97
+ },
98
+ {
99
+ source: 'Notifications',
100
+ target: 'Security',
101
+ value: 3,
102
+ },
103
+ {
104
+ source: 'Page Header',
105
+ target: 'Data and AI, AI Apps',
106
+ value: 4,
107
+ },
108
+ {
109
+ source: 'Page Header',
110
+ target: 'Data and AI, Info Architecture',
111
+ value: 8,
112
+ },
113
+ {
114
+ source: 'Page Header',
115
+ target: 'Automation',
116
+ value: 13,
117
+ },
22
118
  ];
23
119
  export var alluvialSimpleOptions = {
24
120
  title: 'Alluvial',
25
121
  alluvial: {
26
- units: 'GB',
27
122
  nodes: [
28
- { name: 'A', category: 'Start' },
29
- { name: 'B', category: 'Start' },
30
- { name: 'C', category: 'Start' },
31
- { name: 'X', category: 'Finish' },
32
- { name: 'Y', category: 'Finish' },
33
- { name: 'Z', category: 'Finish' },
123
+ {
124
+ name: 'About Modal',
125
+ category: 'Pattern',
126
+ },
127
+ {
128
+ name: 'Cards',
129
+ category: 'Pattern',
130
+ },
131
+ {
132
+ name: 'Create Flow',
133
+ category: 'Pattern',
134
+ },
135
+ {
136
+ name: 'Page Header',
137
+ category: 'Pattern',
138
+ },
139
+ {
140
+ name: 'Notifications',
141
+ category: 'Pattern',
142
+ },
143
+ {
144
+ name: 'Data and AI, AI Apps',
145
+ category: 'Group',
146
+ },
147
+ {
148
+ name: 'Data and AI, Info Architecture',
149
+ category: 'Group',
150
+ },
151
+ {
152
+ name: 'Public Cloud',
153
+ category: 'Group',
154
+ },
155
+ {
156
+ name: 'Security',
157
+ category: 'Group',
158
+ },
159
+ {
160
+ name: 'Automation',
161
+ category: 'Group',
162
+ },
34
163
  ],
35
164
  },
165
+ height: '600px',
36
166
  };
37
167
  export var alluvialSimpleCustomColorOptions = __assign(__assign({}, alluvialSimpleOptions), { title: 'Custom colors (alluvial)', color: {
38
168
  scale: {
@@ -41,6 +171,24 @@ export var alluvialSimpleCustomColorOptions = __assign(__assign({}, alluvialSimp
41
171
  C: '#6fdc8c',
42
172
  },
43
173
  } });
174
+ export var alluvialGradientData = alluvialSimpleData;
175
+ export var alluvialSimpleGradientOptions = __assign(__assign({}, alluvialSimpleOptions), { title: 'Alluvial (gradient)', color: {
176
+ scale: {
177
+ Cards: '#da1e28',
178
+ 'About Modal': '#b28600',
179
+ 'Create Flow': '#198038',
180
+ 'Page Header': '#ee538b',
181
+ Notifications: '#08bdba',
182
+ 'Data and AI, AI Apps': '#1192e8',
183
+ 'Data and AI, Info Architecture': '#a56eff',
184
+ Security: '#009d9a',
185
+ Automation: '#fa4d56',
186
+ 'Public Cloud': '#198038',
187
+ },
188
+ gradient: {
189
+ enabled: true,
190
+ },
191
+ } });
44
192
  export var alluvialMultipleCategoryOptions = {
45
193
  title: 'Alluvial (multiple categories)',
46
194
  alluvial: {
@@ -129,7 +277,17 @@ export var alluvialMultipleCategoryData = [
129
277
  value: 120,
130
278
  },
131
279
  ];
132
- export var alluvialMonochromeData = alluvialSimpleData;
280
+ export var alluvialMonochromeData = [
281
+ { source: 'A', target: 'X', value: 3 },
282
+ { source: 'A', target: 'Y', value: 5 },
283
+ { source: 'A', target: 'Z', value: 8 },
284
+ { source: 'B', target: 'X', value: 6 },
285
+ { source: 'B', target: 'Y', value: 1 },
286
+ { source: 'B', target: 'Z', value: 7 },
287
+ { source: 'C', target: 'X', value: 5 },
288
+ { source: 'C', target: 'Y', value: 5 },
289
+ { source: 'C', target: 'Z', value: 1 },
290
+ ];
133
291
  export var alluvialMonochromeOptions = {
134
292
  title: 'Alluvial (monochrome with custom node padding)',
135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I,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE;YAChC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE;YAChC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE;YACjC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE;YACjC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE;SACjC;QACD,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,EAAE;KACf;CACD,CAAC","sourcesContent":["export const alluvialSimpleData = [\n\t{ source: 'A', target: 'X', value: 3 },\n\t{ source: 'A', target: 'Y', value: 5 },\n\t{ source: 'A', target: 'Z', value: 8 },\n\t{ source: 'B', target: 'X', value: 6 },\n\t{ source: 'B', target: 'Y', value: 1 },\n\t{ source: 'B', target: 'Z', value: 7 },\n\t{ source: 'C', target: 'X', value: 5 },\n\t{ source: 'C', target: 'Y', value: 5 },\n\t{ source: 'C', target: 'Z', value: 1 },\n];\n\nexport const alluvialSimpleOptions = {\n\ttitle: 'Alluvial',\n\talluvial: {\n\t\tunits: 'GB',\n\t\tnodes: [\n\t\t\t{ name: 'A', category: 'Start' },\n\t\t\t{ name: 'B', category: 'Start' },\n\t\t\t{ name: 'C', category: 'Start' },\n\t\t\t{ name: 'X', category: 'Finish' },\n\t\t\t{ name: 'Y', category: 'Finish' },\n\t\t\t{ name: 'Z', category: 'Finish' },\n\t\t],\n\t},\n};\n\nexport const alluvialSimpleCustomColorOptions = {\n\t...alluvialSimpleOptions,\n\ttitle: 'Custom colors (alluvial)',\n\tcolor: {\n\t\tscale: {\n\t\t\tA: '#d12771',\n\t\t\tB: '#08bdba',\n\t\t\tC: '#6fdc8c',\n\t\t},\n\t},\n};\n\nexport const alluvialMultipleCategoryOptions = {\n\ttitle: 'Alluvial (multiple categories)',\n\talluvial: {\n\t\tnodes: [\n\t\t\t{ name: '1st', category: 'Class' },\n\t\t\t{ name: '2nd', category: 'Class' },\n\t\t\t{ name: 'Crew', category: 'Class' },\n\t\t\t{ name: 'Male', category: 'Sex' },\n\t\t\t{ name: 'Female', category: 'Sex' },\n\t\t\t{ name: 'Child', category: 'Age' },\n\t\t\t{ name: 'Adult', category: 'Age' },\n\t\t\t{ name: 'Yes', category: 'Survived' },\n\t\t\t{ name: 'No', category: 'Survived' },\n\t\t],\n\t},\n};\n\nexport const alluvialMultipleCategoryData = [\n\t{\n\t\tsource: '1st',\n\t\ttarget: 'Female',\n\t\tvalue: 25,\n\t},\n\t{\n\t\tsource: '1st',\n\t\ttarget: 'Male',\n\t\tvalue: 35,\n\t},\n\t{\n\t\tsource: '2nd',\n\t\ttarget: 'Female',\n\t\tvalue: 35,\n\t},\n\t{\n\t\tsource: '2nd',\n\t\ttarget: 'Male',\n\t\tvalue: 50,\n\t},\n\t{\n\t\tsource: 'Crew',\n\t\ttarget: 'Male',\n\t\tvalue: 43,\n\t},\n\t{\n\t\tsource: 'Crew',\n\t\ttarget: 'Female',\n\t\tvalue: 18,\n\t},\n\t{\n\t\tsource: 'Male',\n\t\ttarget: 'Child',\n\t\tvalue: 38,\n\t},\n\t{\n\t\tsource: 'Male',\n\t\ttarget: 'Adult',\n\t\tvalue: 90,\n\t},\n\t{\n\t\tsource: 'Female',\n\t\ttarget: 'Adult',\n\t\tvalue: 52,\n\t},\n\t{\n\t\tsource: 'Female',\n\t\ttarget: 'Child',\n\t\tvalue: 26,\n\t},\n\t{\n\t\tsource: 'Child',\n\t\ttarget: 'Yes',\n\t\tvalue: 58,\n\t},\n\t{\n\t\tsource: 'Child',\n\t\ttarget: 'No',\n\t\tvalue: 6,\n\t},\n\t{\n\t\tsource: 'Adult',\n\t\ttarget: 'Yes',\n\t\tvalue: 22,\n\t},\n\t{\n\t\tsource: 'Adult',\n\t\ttarget: 'No',\n\t\tvalue: 120,\n\t},\n];\n\nexport const alluvialMonochromeData = alluvialSimpleData;\n\nexport const alluvialMonochromeOptions = {\n\ttitle: 'Alluvial (monochrome with custom node padding)',\n\talluvial: {\n\t\tnodes: [\n\t\t\t{ name: 'A', category: 'Start' },\n\t\t\t{ name: 'B', category: 'Start' },\n\t\t\t{ name: 'C', category: 'Start' },\n\t\t\t{ name: 'X', category: 'Finish' },\n\t\t\t{ name: 'Y', category: 'Finish' },\n\t\t\t{ name: 'Z', category: 'Finish' },\n\t\t],\n\t\tmonochrome: true,\n\t\tnodePadding: 33,\n\t},\n};\n"]}
1
+ {"version":3,"file":"alluvial.js","sourceRoot":"","sources":["alluvial.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,MAAM,CAAC,IAAM,kBAAkB,GAAG;IACjC;QACC,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,sBAAsB;QAC9B,KAAK,EAAE,CAAC;KACR;IACD;QACC,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,gCAAgC;QACxC,KAAK,EAAE,CAAC;KACR;IACD;QACC,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE,CAAC;KACR;IACD;QACC,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,UAAU;QAClB,KAAK,EAAE,CAAC;KACR;IACD;QACC,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,YAAY;QACpB,KAAK,EAAE,CAAC;KACR;IACD;QACC,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,sBAAsB;QAC9B,KAAK,EAAE,CAAC;KACR;IACD;QACC,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,gCAAgC;QACxC,KAAK,EAAE,EAAE;KACT;IACD;QACC,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE,CAAC;KACR;IACD;QACC,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,UAAU;QAClB,KAAK,EAAE,EAAE;KACT;IACD;QACC,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,YAAY;QACpB,KAAK,EAAE,EAAE;KACT;IACD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,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE;CACtC,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAG;IACxC,KAAK,EAAE,gDAAgD;IACvD,QAAQ,EAAE;QACT,KAAK,EAAE;YACN,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE;YAChC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE;YAChC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE;YAChC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE;YACjC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE;YACjC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE;SACjC;QACD,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,EAAE;KACf;CACD,CAAC","sourcesContent":["export const alluvialSimpleData = [\n\t{\n\t\tsource: 'About Modal',\n\t\ttarget: 'Data and AI, AI Apps',\n\t\tvalue: 5,\n\t},\n\t{\n\t\tsource: 'About Modal',\n\t\ttarget: 'Data and AI, Info Architecture',\n\t\tvalue: 4,\n\t},\n\t{\n\t\tsource: 'About Modal',\n\t\ttarget: 'Public Cloud',\n\t\tvalue: 3,\n\t},\n\t{\n\t\tsource: 'About Modal',\n\t\ttarget: 'Security',\n\t\tvalue: 4,\n\t},\n\t{\n\t\tsource: 'About Modal',\n\t\ttarget: 'Automation',\n\t\tvalue: 8,\n\t},\n\t{\n\t\tsource: 'Cards',\n\t\ttarget: 'Data and AI, AI Apps',\n\t\tvalue: 6,\n\t},\n\t{\n\t\tsource: 'Cards',\n\t\ttarget: 'Data and AI, Info Architecture',\n\t\tvalue: 15,\n\t},\n\t{\n\t\tsource: 'Cards',\n\t\ttarget: 'Public Cloud',\n\t\tvalue: 2,\n\t},\n\t{\n\t\tsource: 'Cards',\n\t\ttarget: 'Security',\n\t\tvalue: 10,\n\t},\n\t{\n\t\tsource: 'Cards',\n\t\ttarget: 'Automation',\n\t\tvalue: 13,\n\t},\n\t{\n\t\tsource: 'Create Flow',\n\t\ttarget: 'Data and AI, AI Apps',\n\t\tvalue: 2,\n\t},\n\t{\n\t\tsource: 'Create Flow',\n\t\ttarget: 'Data and AI, Info Architecture',\n\t\tvalue: 15,\n\t},\n\t{\n\t\tsource: 'Create Flow',\n\t\ttarget: 'Public Cloud',\n\t\tvalue: 1,\n\t},\n\t{\n\t\tsource: 'Create Flow',\n\t\ttarget: 'Security',\n\t\tvalue: 6,\n\t},\n\t{\n\t\tsource: 'Create Flow',\n\t\ttarget: 'Automation',\n\t\tvalue: 15,\n\t},\n\t{\n\t\tsource: 'Notifications',\n\t\ttarget: 'Data and AI, Info Architecture',\n\t\tvalue: 14,\n\t},\n\t{\n\t\tsource: 'Notifications',\n\t\ttarget: 'Public Cloud',\n\t\tvalue: 3,\n\t},\n\t{\n\t\tsource: 'Notifications',\n\t\ttarget: 'Security',\n\t\tvalue: 3,\n\t},\n\t{\n\t\tsource: 'Page Header',\n\t\ttarget: 'Data and AI, AI Apps',\n\t\tvalue: 4,\n\t},\n\t{\n\t\tsource: 'Page Header',\n\t\ttarget: 'Data and AI, Info Architecture',\n\t\tvalue: 8,\n\t},\n\t{\n\t\tsource: 'Page Header',\n\t\ttarget: 'Automation',\n\t\tvalue: 13,\n\t},\n];\n\nexport const alluvialSimpleOptions = {\n\ttitle: 'Alluvial',\n\talluvial: {\n\t\tnodes: [\n\t\t\t{\n\t\t\t\tname: 'About Modal',\n\t\t\t\tcategory: 'Pattern',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Cards',\n\t\t\t\tcategory: 'Pattern',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Create Flow',\n\t\t\t\tcategory: 'Pattern',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Page Header',\n\t\t\t\tcategory: 'Pattern',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Notifications',\n\t\t\t\tcategory: 'Pattern',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Data and AI, AI Apps',\n\t\t\t\tcategory: 'Group',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Data and AI, Info Architecture',\n\t\t\t\tcategory: 'Group',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Public Cloud',\n\t\t\t\tcategory: 'Group',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Security',\n\t\t\t\tcategory: 'Group',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Automation',\n\t\t\t\tcategory: 'Group',\n\t\t\t},\n\t\t],\n\t},\n\theight: '600px',\n};\n\nexport const alluvialSimpleCustomColorOptions = {\n\t...alluvialSimpleOptions,\n\ttitle: 'Custom colors (alluvial)',\n\tcolor: {\n\t\tscale: {\n\t\t\tA: '#d12771',\n\t\t\tB: '#08bdba',\n\t\t\tC: '#6fdc8c',\n\t\t},\n\t},\n};\n\nexport const alluvialGradientData = alluvialSimpleData;\n\nexport const alluvialSimpleGradientOptions = {\n\t...alluvialSimpleOptions,\n\ttitle: 'Alluvial (gradient)',\n\tcolor: {\n\t\tscale: {\n\t\t\tCards: '#da1e28',\n\t\t\t'About Modal': '#b28600',\n\t\t\t'Create Flow': '#198038',\n\t\t\t'Page Header': '#ee538b',\n\t\t\tNotifications: '#08bdba',\n\t\t\t'Data and AI, AI Apps': '#1192e8',\n\t\t\t'Data and AI, Info Architecture': '#a56eff',\n\t\t\tSecurity: '#009d9a',\n\t\t\tAutomation: '#fa4d56',\n\t\t\t'Public Cloud': '#198038',\n\t\t},\n\t\tgradient: {\n\t\t\tenabled: true,\n\t\t},\n\t},\n};\n\nexport const alluvialMultipleCategoryOptions = {\n\ttitle: 'Alluvial (multiple categories)',\n\talluvial: {\n\t\tnodes: [\n\t\t\t{ name: '1st', category: 'Class' },\n\t\t\t{ name: '2nd', category: 'Class' },\n\t\t\t{ name: 'Crew', category: 'Class' },\n\t\t\t{ name: 'Male', category: 'Sex' },\n\t\t\t{ name: 'Female', category: 'Sex' },\n\t\t\t{ name: 'Child', category: 'Age' },\n\t\t\t{ name: 'Adult', category: 'Age' },\n\t\t\t{ name: 'Yes', category: 'Survived' },\n\t\t\t{ name: 'No', category: 'Survived' },\n\t\t],\n\t},\n};\n\nexport const alluvialMultipleCategoryData = [\n\t{\n\t\tsource: '1st',\n\t\ttarget: 'Female',\n\t\tvalue: 25,\n\t},\n\t{\n\t\tsource: '1st',\n\t\ttarget: 'Male',\n\t\tvalue: 35,\n\t},\n\t{\n\t\tsource: '2nd',\n\t\ttarget: 'Female',\n\t\tvalue: 35,\n\t},\n\t{\n\t\tsource: '2nd',\n\t\ttarget: 'Male',\n\t\tvalue: 50,\n\t},\n\t{\n\t\tsource: 'Crew',\n\t\ttarget: 'Male',\n\t\tvalue: 43,\n\t},\n\t{\n\t\tsource: 'Crew',\n\t\ttarget: 'Female',\n\t\tvalue: 18,\n\t},\n\t{\n\t\tsource: 'Male',\n\t\ttarget: 'Child',\n\t\tvalue: 38,\n\t},\n\t{\n\t\tsource: 'Male',\n\t\ttarget: 'Adult',\n\t\tvalue: 90,\n\t},\n\t{\n\t\tsource: 'Female',\n\t\ttarget: 'Adult',\n\t\tvalue: 52,\n\t},\n\t{\n\t\tsource: 'Female',\n\t\ttarget: 'Child',\n\t\tvalue: 26,\n\t},\n\t{\n\t\tsource: 'Child',\n\t\ttarget: 'Yes',\n\t\tvalue: 58,\n\t},\n\t{\n\t\tsource: 'Child',\n\t\ttarget: 'No',\n\t\tvalue: 6,\n\t},\n\t{\n\t\tsource: 'Adult',\n\t\ttarget: 'Yes',\n\t\tvalue: 22,\n\t},\n\t{\n\t\tsource: 'Adult',\n\t\ttarget: 'No',\n\t\tvalue: 120,\n\t},\n];\n\nexport const alluvialMonochromeData = [\n\t{ source: 'A', target: 'X', value: 3 },\n\t{ source: 'A', target: 'Y', value: 5 },\n\t{ source: 'A', target: 'Z', value: 8 },\n\t{ source: 'B', target: 'X', value: 6 },\n\t{ source: 'B', target: 'Y', value: 1 },\n\t{ source: 'B', target: 'Z', value: 7 },\n\t{ source: 'C', target: 'X', value: 5 },\n\t{ source: 'C', target: 'Y', value: 5 },\n\t{ source: 'C', target: 'Z', value: 1 },\n];\n\nexport const alluvialMonochromeOptions = {\n\ttitle: 'Alluvial (monochrome with custom node padding)',\n\talluvial: {\n\t\tnodes: [\n\t\t\t{ name: 'A', category: 'Start' },\n\t\t\t{ name: 'B', category: 'Start' },\n\t\t\t{ name: 'C', category: 'Start' },\n\t\t\t{ name: 'X', category: 'Finish' },\n\t\t\t{ name: 'Y', category: 'Finish' },\n\t\t\t{ name: 'Z', category: 'Finish' },\n\t\t],\n\t\tmonochrome: true,\n\t\tnodePadding: 33,\n\t},\n};\n"]}