-
Notifications
You must be signed in to change notification settings - Fork 0
/
capabilities.json
executable file
·493 lines (493 loc) · 14.7 KB
/
capabilities.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
{
"supportsHighlight": true,
"suppressDefaultTitle": true,
"dataRoles": [
{
"displayNameKey": "Visual_NodeId",
"description": "The id's corresponding to the source of an edge.",
"name": "NodeId",
"kind": "Grouping",
"displayName": "Node Id"
},
{
"displayNameKey": "Visual_TargetId",
"description": "The id's corresponding to the target of an edge.",
"name": "TargetId",
"kind": "Grouping",
"displayName": "Target Id"
},
{
"displayNameKey": "Visual_NodeMainLabel",
"description": "The main labels of the nodes.",
"name": "NodeMainLabel",
"kind": "Measure",
"displayName": "Main Label"
},
{
"displayNameKey": "Visual_NodeSecondLabel",
"description": "The labels shown underneath the main label of the nodes.",
"name": "NodeSecondLabel",
"kind": "Grouping",
"displayName": "Secondary Label"
},
{
"displayNameKey": "Visual_NodeTopLabel",
"description": "The labels shown above the main label of the nodes.",
"name": "NodeTopLabel",
"kind": "Grouping",
"displayName": "Top Label"
},
{
"displayNameKey": "Visual_NodeShape",
"description": "The business names defining the shape of the nodes. Allowed names are: true branch, corporation, partnership, disregarded, rctb, ctb.",
"name": "NodeShape",
"kind": "Grouping",
"displayName": "Shape"
},
{
"displayNameKey": "Visual_Edge_Label",
"description": "The labels shown next to the edges.",
"name": "EdgeLabel",
"kind": "Grouping",
"displayName": "Edge Label"
}
],
"objects": {
"network": {
"displayName": "Network",
"displayNameKey": "Visual_Network",
"properties": {
"layoutStyle": {
"displayName": "Layout",
"description": "The type of layout used to lay out the network. Note that the tree can only be applied to a tree structure. If the graph is not a tree the layout falls back to the hierarchical layout type.",
"displayNameKey": "Visual_Network_Layout",
"type": {
"enumeration": [
{
"value": "Organic",
"displayNameKey": "Visual_Network_Organic",
"displayName": "Organic"
},
{
"value": "Hierarchic",
"displayNameKey": "Visual_Network_Hierarchic",
"displayName": "Hierarchic"
},
{
"value": "Tree",
"displayNameKey": "Visual_Network_Tree",
"displayName": "Tree"
}
]
}
},
"invertEdges": {
"description": "Whether the edges are inverted, i.e. the parent-child relationship is inverted.",
"displayName": "Invert Edges",
"displayNameKey": "Visual_Edges_Invert",
"type": {
"bool": true
}
},
"layoutDirection": {
"displayName": "Layout Direction",
"description": "The direction in which the children are positioned with respect to the their parent.",
"displayNameKey": "Visual_Network_Direction",
"type": {
"enumeration": [
{
"value": "TopToBottom",
"displayNameKey": "Visual_Network_Layout_TB",
"displayName": "Top to bottom"
},
{
"value": "BottomToTop",
"displayNameKey": "Visual_Network_Layout_BT",
"displayName": "Bottom to top"
},
{
"value": "LeftToRight",
"displayNameKey": "Visual_Network_Layout_LR",
"displayName": "Left to right"
},
{
"value": "RightToLeft",
"displayNameKey": "Visual_Network_Layout_RL",
"displayName": "Right to left"
}
]
}
},
"zoomSelectFactor": {
"displayName": "Selection Zoom Factor",
"description": "The zoom factor applied when another widget defines a focus. Typically a value between 1 and 2.",
"displayNameKey": "Visual_Network_Zoom_Factor",
"type": {
"numeric": true
}
},
"highlightColor": {
"displayName": "Selection Zoom Color",
"description": "The color of the node when zooming into a selected item via an adjacent widget.",
"displayNameKey": "Visual_Network_Zoom_Color",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
}
}
},
"neighborhood": {
"displayName": "Neighborhood",
"description": "Augments the filtered view with parents and children.",
"displayNameKey": "Visual_Neighborhood",
"properties": {
"show": {
"description": "Whether the neighborhood of filtered nodes is shown.",
"displayName": "Show",
"displayNameKey": "Visual_ShowNeighbors",
"type": {
"bool": true
}
},
"maxParentLevel": {
"description": "How many parents should be shown for the filtered items.",
"displayName": "Parents",
"displayNameKey": "Visual_Parents",
"type": {
"numeric": true
}
},
"maxChildrenLevel": {
"description": "How many children should be shown for the filtered items.",
"displayName": "Children",
"displayNameKey": "Visual_Parents",
"type": {
"numeric": true
}
}
}
},
"edges": {
"displayName": "Edges",
"displayNameKey": "Visual_Edges",
"properties": {
"show": {
"description": "Whether the edges are rendered or not.",
"displayName": "Show",
"displayNameKey": "Visual_ShowEdges",
"type": {
"bool": true
}
},
"bundleHierarchicEdges": {
"description": "Whether the edges are merged. This setting only applies to the hierarchic layout.",
"displayName": "Bundle Hierarchic Edges",
"displayNameKey": "Visual_Bundle_Hierarchic_Edges",
"type": {
"bool": true
}
},
"showLabel": {
"description": "Whether the labels of the edges are shown.",
"displayName": "Show Label",
"displayNameKey": "Visual_Show_Edge_Label",
"type": {
"bool": true
}
},
"labelSuffix": {
"displayName": "Label Suffix",
"description": "The string appended to the edge labels.",
"displayNameKey": "Visual_Edge_Label_Suffix",
"type": {
"text": true
}
},
"labelSize": {
"displayName": "Label Size",
"description": "The font size of the edge labels.",
"displayNameKey": "Visual_Edge_Label_Size",
"type": {
"numeric": true
}
},
"labelColor": {
"displayName": "Label Color",
"description": "The color of the edge labels.",
"displayNameKey": "Visual_Edge_Label_Color",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"width": {
"description": "The thickness of the edges.",
"displayName": "Edge Width",
"displayNameKey": "Visual_Edge_Width",
"type": {
"numeric": true
}
},
"color": {
"displayName": "Edge Color",
"description": "The color of the edges.",
"displayNameKey": "Visual_Edge_Color",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"sourceArrow": {
"displayName": "Source Arrow",
"description": "The arrow at the source of the edges.",
"displayNameKey": "Visual_Edge_Source_Arrow",
"type": {
"enumeration": [
{
"value": "None",
"displayNameKey": "Visual_Edge_Source_Arrow_None",
"displayName": "None"
},
{
"value": "Simple",
"displayNameKey": "Visual_Edge_Source_Arrow_Simple",
"displayName": "Simple Arrow"
},
{
"value": "Default",
"displayNameKey": "Visual_Edge_Source_Arrow_Default",
"displayName": "Standard Arrow"
},
{
"value": "Circle",
"displayNameKey": "Visual_Edge_Source_Arrow_Circle",
"displayName": "Circle"
},
{
"value": "Diamond",
"displayNameKey": "Visual_Edge_Source_Arrow_Diamond",
"displayName": "Diamond"
}
]
}
},
"targetArrow": {
"displayName": "Target Arrow",
"description": "The arrow at the target of the edges.",
"displayNameKey": "Visual_Edge_Target_Arrow",
"type": {
"enumeration": [
{
"value": "None",
"displayNameKey": "Visual_Edge_Target_Arrow_None",
"displayName": "None"
},
{
"value": "Simple",
"displayNameKey": "Visual_Edge_Target_Arrow_Simple",
"displayName": "Simple Arrow"
},
{
"value": "Default",
"displayNameKey": "Visual_Edge_Target_Arrow_Default",
"displayName": "Standard Arrow"
},
{
"value": "Circle",
"displayNameKey": "Visual_Edge_Target_Arrow_Circle",
"displayName": "Circle"
},
{
"value": "Diamond",
"displayNameKey": "Visual_Edge_Target_Arrow_Diamond",
"displayName": "Diamond"
}
]
}
}
}
},
"nodes": {
"displayName": "Nodes",
"displayNameKey": "Visual_Nodes",
"properties": {
"color": {
"description": "The main (background) color of the nodes.",
"displayName": "Node Color",
"displayNameKey": "Visual_Node_Color",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"borderColor": {
"description": "The border color of the nodes.",
"displayName": "Border Color",
"displayNameKey": "Visual_Node_Border_Color",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"borderWidth": {
"displayName": "Border Width",
"description": "The thickness of the node border.",
"displayNameKey": "Visual_Node_Border_Width",
"type": {
"numeric": true
}
},
"mainLabelColor": {
"displayName": "Main Label Color",
"description": "The color of the main label.",
"displayNameKey": "Visual_Node_Main_Label_Color",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"subLabelColor": {
"displayName": "Secondary Label Color",
"description": "The color of the label underneath the main label.",
"displayNameKey": "Visual_Node_Sub_Label_Color",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"topLabelColor": {
"displayName": "Top Label Color",
"description": "The color of the label above the main label.",
"displayNameKey": "Visual_Node_Top_Label_Color",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"nodeReSize": {
"displayName": "Resize to Labels",
"description": "Whether the nodes are resized in function of the labels.",
"displayNameKey": "Visual_Node_Adapt",
"type": {
"bool": true
}
},
"showTopLabel": {
"displayName": "Show Top Label",
"description": "Whether the label above the main label is shown.",
"displayNameKey": "Visual_Node_Show_Top_Label",
"type": {
"bool": true
}
},
"showBottomLabel": {
"displayName": "Show Sub Label",
"description": "Whether the label below the main label is shown.",
"displayNameKey": "Visual_Node_Show_Sub_Label",
"type": {
"bool": true
}
},
"topLabelIsRestPercentage": {
"displayName": "Top Label is Rest Percentage",
"description": "If switched on the top-label will show the rest-percentage of the combined outgoing edge percentages.",
"displayNameKey": "Visual_Node_Show_Sub_Label",
"type": {
"bool": true
}
}
}
}
},
"dataViewMappings": [
{
"conditions": [
{
"NodeId": {
"max": 1
},
"TargetId": {
"max": 1
},
"NodeLabel": {
"max": 1
},
"NodeShape": {
"max": 1
}
}
],
"categorical": {
"categories": {
"select": [
{
"for": {
"in": "NodeId"
}
},
{
"for": {
"in": "TargetId"
}
},
{
"for": {
"in": "NodeMainLabel"
}
},
{
"for": {
"in": "NodeSecondLabel"
}
},
{
"for": {
"in": "NodeShape"
}
},
{
"for": {
"in": "EdgeLabel"
}
},
{
"for": {
"in": "NodeTopLabel"
}
}
],
"dataReductionAlgorithm": {
"top": {
"count": 1000
}
}
}
}
}
]
}