aframe-babia-components 1.3.0 → 1.3.3

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.
Files changed (34) hide show
  1. package/components/visualizers/babia-boats.js +375 -212
  2. package/dist/aframe-babia-components.js +6585 -6200
  3. package/dist/aframe-babia-components.min.js +1 -1
  4. package/dist/aframe-babia-components.min.js.LICENSE.txt +1 -1
  5. package/dist/aframe-babia-components.min.js.map +1 -1
  6. package/docs/APIs/CHARTS.md +3 -1
  7. package/docs/RELEASE_NOTES.md +12 -0
  8. package/docs/Tutorials/HOW_TO_USE_BABIA_MAP.md +1 -1
  9. package/examples/boats/boats2/data_simple.json +377 -0
  10. package/examples/boats/boats2/index.html +2 -2
  11. package/examples/boats/boats_city/index.html +1 -1
  12. package/examples/boats/boats_city_plan_view/index.html +1 -1
  13. package/examples/boats/boats_dependency/experiment.html +2 -2
  14. package/examples/boats/boats_dependency/index.html +2 -2
  15. package/examples/boats/boats_dependency/index_gradient.html +1 -1
  16. package/examples/boats/boats_dependency/index_normalcity.html +1 -1
  17. package/examples/boats/boats_dependency/index_quarter_levels_01.html +1 -1
  18. package/examples/boats/boats_dependency/index_quarter_levels_02.html +1 -1
  19. package/examples/boats/boats_dependency/index_quarter_levels_03.html +1 -1
  20. package/examples/boats/boats_dependency/index_quarter_levels_querystring.html +2 -2
  21. package/examples/boats/boats_dependency/index_tree.html +1 -1
  22. package/examples/boats/boats_dependency/index_tree_gradient.html +1 -1
  23. package/examples/boats/boats_dependency/index_tree_wireframe.html +2 -2
  24. package/examples/boats/boats_diagonal/diagonal.json +5 -0
  25. package/examples/boats/boats_diagonal/index.html +53 -0
  26. package/examples/boats/boats_quarter_resize2/index.html +1 -1
  27. package/examples/boats/jetuml_evol/index.html +34 -34
  28. package/examples/publications/elevated/index.html +2 -6
  29. package/examples/ui/boats_treegenerator/index.html +1 -1
  30. package/examples/ui/ui_treegenerator/index.html +1 -1
  31. package/package.json +1 -1
  32. package/webpack.dev.js +2 -1
  33. package/webpack.devall.js +3 -0
  34. package/webpack.devnossl.js +3 -0
@@ -314,9 +314,11 @@ This component shows a city in boats.
314
314
  | minBuildingHeight | Min value for the building height | number | 0.03 |
315
315
  | maxBuildingHeight | Max value for the building height | number | 2 |
316
316
  | color | Field in data items to represent the color of the buildings as HSL heatmap (or categoric) | string | - |
317
- | building_separation | Separation of the buildings by a numeric factor | number | 0.25 |
317
+ | separation | Separation of the buildings by a numeric factor | number | 0.25 |
318
318
  | legend_lookat | Element that the legend will follow in terms of rotation | string | `[camera]` |
319
319
  | legend_scale | Scale for the legend | number | 1 |
320
+ | legend_text | Template for the text shown in legends. Supports placeholders like `{name}`, `{height}`, `{fheight}`, `{color}`, `{fcolor}`, etc. Use `\n` to create new lines. | string | `{name}\n{fheight}: {height}\n{farea}: {area}\n{fwidth}: {width}\n{fdepth}: {depth}\n{fcolor}: {color}` |
321
+ | legend_text | Template for the text shown in legends. Supports dynamic placeholders to display field names and values. Use `\n` to insert new lines. <br><br>**Supported placeholders:**<br>• `{name}` – Name of the element.<br>• `{height}` – Value of the metric defined by the `height` field.<br>• `{area}` – Value of the metric defined by the `area` field.<br>• `{width}` – Value of the metric defined by the `width` field.<br>• `{depth}` – Value of the metric defined by the `depth` field.<br>• `{color}` – Value of the metric defined by the `color` field.<br>• `{fheight}` – Name of the field used for `height` (e.g. `loc`).<br>• `{farea}` – Name of the field used for `area`.<br>• `{fwidth}` – Name of the field used for `width`.<br>• `{fdepth}` – Name of the field used for `depth`.<br>• `{fcolor}` – Name of the field used for `color`.<br><br>**Tip:** When used on quarters (i.e. elements with children), only `{name}` is shown regardless of the template. | string | `{name}\n{fheight} (height): {height}\n{farea} (area): {area}\n{fwidth} (width): {width}\n{fdepth} (depth): {depth}\n{fcolor}: {color}` |
320
322
  | legendsAsChildren | Set the legends as children of buildings and quarters | boolean | false |
321
323
  | legendsAsChildrenHeight | Height of the legends when they are children. | number | 3 |
322
324
  | metricsInfoId | Id of the HTML entity where the metrics information (max, min and avg) will be displayed | string | - |
@@ -4,6 +4,18 @@ This doc gathers all the information about the releases made by the Sprints/Mile
4
4
 
5
5
  ## Release notes
6
6
 
7
+ ### NPM 1.3.3 version
8
+
9
+ Added some refactor
10
+
11
+ ### NPM 1.3.3 version
12
+
13
+ `babia-boats` accepts custom legends through the `legend_text` attribute.
14
+
15
+ ### NPM 1.3.1 version
16
+
17
+ `babia-boats` fixed attribute `building_separation` that wasn't working well. Now the parameter is called `separation` because it affects also quarters.
18
+
7
19
 
8
20
  ### NPM 1.3.0 version
9
21
 
@@ -2,7 +2,7 @@
2
2
  linktitle: "how_to_use_babia_map"
3
3
  date: 2025-06-16T16:07:05+02:00
4
4
  title: How to Use babia-map visualizer in BabiaXR.
5
- draft: true
5
+ draft: false
6
6
  categories: [ "Tutorials", "Documentation" ]
7
7
  tags: ["api", "OSM", "MapBox", "VR", "guide"]
8
8
  ---
@@ -0,0 +1,377 @@
1
+ [
2
+ {
3
+ "id": "001",
4
+ "height": "1",
5
+ "area": "1"
6
+ },
7
+ {
8
+ "id": "002",
9
+ "height": "1",
10
+ "area": "1"
11
+ },
12
+ {
13
+ "id": "003",
14
+ "height": "1",
15
+ "area": "1"
16
+ },
17
+ {
18
+ "id": "004",
19
+ "height": "1",
20
+ "area": "1"
21
+ },
22
+ {
23
+ "id": "005",
24
+ "height": "1",
25
+ "area": "1"
26
+ },
27
+ {
28
+ "id": "006",
29
+ "height": "1",
30
+ "area": "1"
31
+ },
32
+ {
33
+ "id": "007",
34
+ "height": "1",
35
+ "area": "1"
36
+ },
37
+ {
38
+ "id": "008",
39
+ "height": "1",
40
+ "area": "1"
41
+ },
42
+ {
43
+ "id": "009",
44
+ "height": "1",
45
+ "area": "1"
46
+ },
47
+ {
48
+ "id": "010",
49
+ "height": "1",
50
+ "area": "1"
51
+ },
52
+ {
53
+ "id": "011",
54
+ "height": "1",
55
+ "area": "1"
56
+ },
57
+ {
58
+ "id": "012",
59
+ "height": "1",
60
+ "area": "1"
61
+ },
62
+ {
63
+ "id": "013",
64
+ "height": "1",
65
+ "area": "1"
66
+ },
67
+ {
68
+ "id": "014",
69
+ "height": "1",
70
+ "area": "1"
71
+ },
72
+ {
73
+ "id": "015",
74
+ "height": "1",
75
+ "area": "1"
76
+ },
77
+ {
78
+ "id": "016",
79
+ "height": "1",
80
+ "area": "1"
81
+ },
82
+ {
83
+ "id": "017",
84
+ "height": "1",
85
+ "area": "1"
86
+ },
87
+ {
88
+ "id": "018",
89
+ "height": "1",
90
+ "area": "1"
91
+ },
92
+ {
93
+ "id": "019",
94
+ "height": "1",
95
+ "area": "1"
96
+ },
97
+ {
98
+ "id": "020",
99
+ "height": "1",
100
+ "area": "1"
101
+ },
102
+ {
103
+ "id": "021",
104
+ "height": "1",
105
+ "area": "1"
106
+ },
107
+ {
108
+ "id": "022",
109
+ "height": "1",
110
+ "area": "1"
111
+ },
112
+ {
113
+ "id": "023",
114
+ "height": "1",
115
+ "area": "1"
116
+ },
117
+ {
118
+ "id": "024",
119
+ "height": "1",
120
+ "area": "1"
121
+ },
122
+ {
123
+ "id": "025",
124
+ "height": "1",
125
+ "area": "1"
126
+ },
127
+ {
128
+ "id": "026",
129
+ "height": "1",
130
+ "area": "1"
131
+ },
132
+ {
133
+ "id": "027",
134
+ "height": "1",
135
+ "area": "1"
136
+ },
137
+ {
138
+ "id": "028",
139
+ "height": "1",
140
+ "area": "1"
141
+ },
142
+ {
143
+ "id": "029",
144
+ "height": "1",
145
+ "area": "1"
146
+ },
147
+ {
148
+ "id": "030",
149
+ "height": "1",
150
+ "area": "1"
151
+ },
152
+ {
153
+ "id": "031",
154
+ "height": "1",
155
+ "area": "1"
156
+ },
157
+ {
158
+ "id": "032",
159
+ "height": "1",
160
+ "area": "1"
161
+ },
162
+ {
163
+ "id": "033",
164
+ "height": "1",
165
+ "area": "1"
166
+ },
167
+ {
168
+ "id": "034",
169
+ "height": "1",
170
+ "area": "1"
171
+ },
172
+ {
173
+ "id": "035",
174
+ "height": "1",
175
+ "area": "1"
176
+ },
177
+ {
178
+ "id": "036",
179
+ "height": "1",
180
+ "area": "1"
181
+ },
182
+ {
183
+ "id": "037",
184
+ "height": "1",
185
+ "area": "1"
186
+ },
187
+ {
188
+ "id": "038",
189
+ "height": "1",
190
+ "area": "1"
191
+ },
192
+ {
193
+ "id": "039",
194
+ "height": "1",
195
+ "area": "1"
196
+ },
197
+ {
198
+ "id": "040",
199
+ "height": "1",
200
+ "area": "1"
201
+ },
202
+ {
203
+ "id": "041",
204
+ "height": "1",
205
+ "area": "1"
206
+ },
207
+ {
208
+ "id": "042",
209
+ "height": "1",
210
+ "area": "1"
211
+ },
212
+ {
213
+ "id": "043",
214
+ "height": "1",
215
+ "area": "1"
216
+ },
217
+ {
218
+ "id": "044",
219
+ "height": "1",
220
+ "area": "1"
221
+ },
222
+ {
223
+ "id": "045",
224
+ "height": "1",
225
+ "area": "1"
226
+ },
227
+ {
228
+ "id": "046",
229
+ "height": "1",
230
+ "area": "1"
231
+ },
232
+ {
233
+ "id": "047",
234
+ "height": "1",
235
+ "area": "1"
236
+ },
237
+ {
238
+ "id": "048",
239
+ "height": "1",
240
+ "area": "1"
241
+ },
242
+ {
243
+ "id": "049",
244
+ "height": "1",
245
+ "area": "1"
246
+ },
247
+ {
248
+ "id": "050",
249
+ "height": "1",
250
+ "area": "1"
251
+ },
252
+ {
253
+ "id": "051",
254
+ "height": "1",
255
+ "area": "1"
256
+ },
257
+ {
258
+ "id": "052",
259
+ "height": "1",
260
+ "area": "1"
261
+ },
262
+ {
263
+ "id": "053",
264
+ "height": "1",
265
+ "area": "1"
266
+ },
267
+ {
268
+ "id": "054",
269
+ "height": "1",
270
+ "area": "1"
271
+ },
272
+ {
273
+ "id": "055",
274
+ "height": "1",
275
+ "area": "1"
276
+ },
277
+ {
278
+ "id": "056",
279
+ "height": "1",
280
+ "area": "1"
281
+ },
282
+ {
283
+ "id": "057",
284
+ "height": "1",
285
+ "area": "1"
286
+ },
287
+ {
288
+ "id": "058",
289
+ "height": "1",
290
+ "area": "1"
291
+ },
292
+ {
293
+ "id": "059",
294
+ "height": "1",
295
+ "area": "1"
296
+ },
297
+ {
298
+ "id": "060",
299
+ "height": "1",
300
+ "area": "1"
301
+ },
302
+ {
303
+ "id": "061",
304
+ "height": "1",
305
+ "area": "1"
306
+ },
307
+ {
308
+ "id": "062",
309
+ "height": "1",
310
+ "area": "1"
311
+ },
312
+ {
313
+ "id": "063",
314
+ "height": "1",
315
+ "area": "1"
316
+ },
317
+ {
318
+ "id": "064",
319
+ "height": "1",
320
+ "area": "1"
321
+ },
322
+ {
323
+ "id": "065",
324
+ "height": "1",
325
+ "area": "1"
326
+ },
327
+ {
328
+ "id": "066",
329
+ "height": "1",
330
+ "area": "1"
331
+ },
332
+ {
333
+ "id": "067",
334
+ "height": "1",
335
+ "area": "1"
336
+ },
337
+ {
338
+ "id": "068",
339
+ "height": "1",
340
+ "area": "1"
341
+ },
342
+ {
343
+ "id": "069",
344
+ "height": "1",
345
+ "area": "1"
346
+ },
347
+ {
348
+ "id": "070",
349
+ "height": "1",
350
+ "area": "1"
351
+ },
352
+ {
353
+ "id": "071",
354
+ "height": "1",
355
+ "area": "1"
356
+ },
357
+ {
358
+ "id": "072",
359
+ "height": "1",
360
+ "area": "1"
361
+ },
362
+ {
363
+ "id": "073",
364
+ "height": "1",
365
+ "area": "1"
366
+ },
367
+ {
368
+ "id": "074",
369
+ "height": "1",
370
+ "area": "1"
371
+ },
372
+ {
373
+ "id": "075",
374
+ "height": "1",
375
+ "area": "1"
376
+ }
377
+ ]
@@ -14,9 +14,9 @@
14
14
  <a-scene environment="preset: yavapai" renderer="antialias: true">
15
15
 
16
16
  <a-entity id="queriertest" babia-queryjson="url: data.json;"></a-entity>
17
- <a-entity babia-boats="from: queriertest; field: id" position="0 1 0"></a-entity>
17
+ <a-entity babia-boats="from: queriertest; field: id; separation: 0.1; legend_text: {name} --> {height}" position="0 2 20"></a-entity>
18
18
 
19
- <a-entity movement-controls="fly: true" position="-6 10 25" rotation="-10 -30 0">
19
+ <a-entity movement-controls="fly: true" position="-6 10 25" rotation="-50 -40 0">
20
20
  <a-entity camera look-controls></a-entity>
21
21
  <a-entity cursor="rayOrigin:mouse"></a-entity>
22
22
  <a-entity laser-controls="hand: right"></a-entity>
@@ -14,7 +14,7 @@
14
14
  <a-scene environment="preset: yavapai" renderer="antialias: true">
15
15
 
16
16
  <a-entity id="queriertest" babia-queryjson="url: data.json;"></a-entity>
17
- <a-entity babia-boats="from: queriertest; area: area; building_separation: 0.5; border: 0.05; field: id; maxBuildingHeight: 20"
17
+ <a-entity babia-boats="from: queriertest; area: area; separation: 0.5; border: 0.05; field: id; maxBuildingHeight: 20"
18
18
  position="-8 3 2" scale= "0.2 1 0.2"></a-entity>
19
19
 
20
20
  <a-entity position="18 3 0" id="codecity"
@@ -14,7 +14,7 @@
14
14
  <a-scene environment="preset: yavapai" renderer="antialias: true">
15
15
 
16
16
  <a-entity id="queriertest" babia-queryjson="url: data.json;"></a-entity>
17
- <a-entity babia-boats="from: queriertest; area: area; building_separation: 0.25; border: 0.25; field: id; maxBuildingHeight: 20"
17
+ <a-entity babia-boats="from: queriertest; area: area; separation: 0.25; border: 0.25; field: id; maxBuildingHeight: 20"
18
18
  position="-8 3 2" scale= "0.2 1 0.2"></a-entity>
19
19
 
20
20
  <a-entity position="18 3 0" id="codecity"
@@ -122,7 +122,7 @@
122
122
  <a-entity id="boats"
123
123
  babia-boats="from: sortinghat; area: loc/age; height: age_days; color: license; height_building_legend: -0.5; extra: 0.01; treeQuartersLevelHeight: 0.1;
124
124
  highlightQuarter: false; treeLayout: true; gradientBaseColor: true; metricsInfoId: boatsmetricsinfo; treeFixQuarterHeight: true; treeHideOneSonQuarters: true;
125
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 0.4; minBuildingHeight: 0.0025; building_separation: 0.2; autoscale: true; baseAlpha: 0.6; highlightBuildingByField: depName; transparent20ByRepeatedField: depName; numericColorLegendId: babianumericcolorlegend"
125
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 0.4; minBuildingHeight: 0.0025; separation: 0.2; autoscale: true; baseAlpha: 0.6; highlightBuildingByField: depName; transparent20ByRepeatedField: depName; numericColorLegendId: babianumericcolorlegend"
126
126
  position="0 0.5 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
127
127
 
128
128
  <a-entity id="interface"
@@ -263,7 +263,7 @@
263
263
  let quarterheight = getValueFromQueryString('quarterheight');
264
264
  let extra = getValueFromQueryString('extra');
265
265
  if (buildingsep) {
266
- document.getElementById("boats").setAttribute('babia-boats', 'building_separation', parseFloat(buildingsep))
266
+ document.getElementById("boats").setAttribute('babia-boats', 'separation', parseFloat(buildingsep))
267
267
  }
268
268
  if (quarterheight) {
269
269
  document.getElementById("boats").setAttribute('babia-boats', 'treeQuartersLevelHeight', parseFloat(quarterheight))
@@ -120,7 +120,7 @@
120
120
  <a-entity id="boats"
121
121
  babia-boats="from: sortinghat; area: loc_age; height: age_days; color: last_act_days; height_building_legend: -0.5; extra: 0.01; treeQuartersLevelHeight: 0.1;
122
122
  highlightQuarter: false; treeLayout: true; gradientBaseColor: true; metricsInfoId: boatsmetricsinfo; treeFixQuarterHeight: true; treeHideOneSonQuarters: true;
123
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 0.4; minBuildingHeight: 0.0025; building_separation: 0.2; autoscale: true; baseAlpha: 0.6; highlightBuildingByField: depName; transparent20ByRepeatedField: depName;"
123
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 0.4; minBuildingHeight: 0.0025; separation: 0.2; autoscale: true; baseAlpha: 0.6; highlightBuildingByField: depName; transparent20ByRepeatedField: depName;"
124
124
  position="0 0.3 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
125
125
 
126
126
  <a-entity id="interface"
@@ -285,7 +285,7 @@
285
285
  let quarterheight = getValueFromQueryString('quarterheight');
286
286
  let extra = getValueFromQueryString('extra');
287
287
  if (buildingsep) {
288
- document.getElementById("boats").setAttribute('babia-boats', 'building_separation', parseFloat(buildingsep))
288
+ document.getElementById("boats").setAttribute('babia-boats', 'separation', parseFloat(buildingsep))
289
289
  }
290
290
  if (quarterheight) {
291
291
  document.getElementById("boats").setAttribute('babia-boats', 'treeQuartersLevelHeight', parseFloat(quarterheight))
@@ -109,7 +109,7 @@
109
109
  <!-- Visualizer Components -->
110
110
  <a-entity id="boats"
111
111
  babia-boats="from: portainer; area: commits; height: size; color: license; height_building_legend: -0.5; extra: 10; highlightQuarter: true; gradientBaseColor: true; metricsInfoId: boatsmetricsinfo;
112
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; building_separation: 50; autoscale: true"
112
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; separation: 50; autoscale: true"
113
113
  position="0 0.3 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
114
114
 
115
115
  <a-entity id="interface" babia-ui="target: boats" position="-3 1.5 0" rotation="0 90 0"
@@ -108,7 +108,7 @@
108
108
  <!-- Visualizer Components -->
109
109
  <a-entity id="boats"
110
110
  babia-boats="from: portainer; area: commits_lastyear; height: size; color: license; height_building_legend: -0.5; extra: 10; highlightQuarter: true; gradientBaseColor: false; metricsInfoId: boatsmetricsinfo;
111
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; building_separation: 50; autoscale: true"
111
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; separation: 50; autoscale: true"
112
112
  position="0 0.3 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
113
113
 
114
114
  <a-entity id="interface" babia-ui="target: boats; maxPerRow: 20" position="-3 1.5 0" rotation="0 90 0" scale="0.1 0.1 0.1">
@@ -112,7 +112,7 @@
112
112
  <a-entity id="boats"
113
113
  babia-boats="from: sortinghat; area: commits; height: size; color: license; height_building_legend: -0.5; extra: 10; treeQuartersLevelHeight: 0.1;
114
114
  highlightQuarter: false; treeLayout: true; gradientBaseColor: true; metricsInfoId: boatsmetricsinfo; treeFixQuarterHeight: true; treeHideOneSonQuarters: true;
115
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; building_separation: 50; autoscale: true; baseAlpha: 0.7"
115
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; separation: 50; autoscale: true; baseAlpha: 0.7"
116
116
  position="0 0.3 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
117
117
 
118
118
  <a-entity id="interface" babia-ui="target: boats" position="-3 1.5 0" rotation="0 90 0"
@@ -112,7 +112,7 @@
112
112
  <a-entity id="boats"
113
113
  babia-boats="from: sortinghat; area: commits; height: size; color: license; height_building_legend: -0.5; extra: 10; treeQuartersLevelHeight: 0.2;
114
114
  highlightQuarter: false; treeLayout: true; gradientBaseColor: true; metricsInfoId: boatsmetricsinfo; treeFixQuarterHeight: true; treeHideOneSonQuarters: true;
115
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; building_separation: 50; autoscale: true; baseAlpha: 0.7"
115
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; separation: 50; autoscale: true; baseAlpha: 0.7"
116
116
  position="0 0.3 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
117
117
 
118
118
  <a-entity id="interface" babia-ui="target: boats" position="-3 1.5 0" rotation="0 90 0"
@@ -112,7 +112,7 @@
112
112
  <a-entity id="boats"
113
113
  babia-boats="from: sortinghat; area: commits; height: size; color: license; height_building_legend: -0.5; extra: 10; treeQuartersLevelHeight: 0.3;
114
114
  highlightQuarter: false; treeLayout: true; gradientBaseColor: true; metricsInfoId: boatsmetricsinfo; treeFixQuarterHeight: true; treeHideOneSonQuarters: true;
115
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; building_separation: 50; autoscale: true; baseAlpha: 0.7"
115
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; separation: 50; autoscale: true; baseAlpha: 0.7"
116
116
  position="0 0.5 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
117
117
 
118
118
  <a-entity id="interface" babia-ui="target: boats" position="-3 1.5 0" rotation="0 90 0"
@@ -119,7 +119,7 @@
119
119
  <a-entity id="boats"
120
120
  babia-boats="from: portainer; area: commits_lastyear; height: commits_lastyear; color: timesAppearsSameId; height_building_legend: -0.5; extra: 4; treeQuartersLevelHeight: 0.1;
121
121
  highlightQuarter: false; treeLayout: true; gradientBaseColor: true; metricsInfoId: boatsmetricsinfo; treeFixQuarterHeight: true; treeHideOneSonQuarters: true;
122
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; building_separation: 1; autoscale: true; baseAlpha: 0.7; wireframeByRepeatedField: name"
122
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; separation: 1; autoscale: true; baseAlpha: 0.7; wireframeByRepeatedField: name"
123
123
  position="0 0.3 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
124
124
 
125
125
  <a-entity id="interface" babia-ui="target: boats; hideRows: depth, width; hideFields: noMetric, level, timesAppearsSameId, nvuln, nvuln_critic, nvuln_high, nvuln_mod, nvuln_low, nvuln_info" position="-3 1.5 0" rotation="0 90 0" scale="0.1 0.1 0.1">
@@ -228,7 +228,7 @@
228
228
  let quarterheight = getValueFromQueryString('quarterheight');
229
229
  let extra = getValueFromQueryString('extra');
230
230
  if (buildingsep) {
231
- document.getElementById("boats").setAttribute('babia-boats', 'building_separation', parseFloat(buildingsep))
231
+ document.getElementById("boats").setAttribute('babia-boats', 'separation', parseFloat(buildingsep))
232
232
  }
233
233
  if (quarterheight) {
234
234
  document.getElementById("boats").setAttribute('babia-boats', 'treeQuartersLevelHeight', parseFloat(quarterheight))
@@ -111,7 +111,7 @@
111
111
  <!-- Visualizer Components -->
112
112
  <a-entity id="boats"
113
113
  babia-boats="from: portainer; area: commits; height: size; color: license; height_building_legend: -0.5; extra: 10; highlightQuarter: false; treeLayout: true; metricsInfoId: boatsmetricsinfo;
114
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; building_separation: 50; autoscale: true"
114
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; separation: 50; autoscale: true"
115
115
  position="0 0.3 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
116
116
 
117
117
  <a-entity id="interface" babia-ui="target: boats" position="-3 1.5 0" rotation="0 90 0"
@@ -111,7 +111,7 @@
111
111
  <!-- Visualizer Components -->
112
112
  <a-entity id="boats"
113
113
  babia-boats="from: portainer; area: commits; height: size; color: license; height_building_legend: -0.5; extra: 10; highlightQuarter: false; treeLayout: true; gradientBaseColor: true; metricsInfoId: boatsmetricsinfo; treeHideOneSonQuarters: true;
114
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; building_separation: 50; autoscale: true; baseAlpha: 0.7"
114
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; separation: 50; autoscale: true; baseAlpha: 0.7"
115
115
  position="0 0.3 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
116
116
 
117
117
  <a-entity id="interface" babia-ui="target: boats" position="-3 1.5 0" rotation="0 90 0"
@@ -119,7 +119,7 @@
119
119
  <a-entity id="boats"
120
120
  babia-boats="from: portainer; area: commits_lastyear; height: commits_lastyear; color: timesAppearsSameId; height_building_legend: -0.5; extra: 4; treeQuartersLevelHeight: 0.1;
121
121
  highlightQuarter: false; treeLayout: true; gradientBaseColor: true; metricsInfoId: boatsmetricsinfo; treeFixQuarterHeight: true; treeHideOneSonQuarters: true;
122
- legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; building_separation: 1; autoscale: true; baseAlpha: 0.7; wireframeByRepeatedField: name"
122
+ legend_scale: 0.25; height_quarter_legend_box: 3; height_quarter_legend_title: 1.5; legend_lookat: [laser-controls]; zone_elevation: 0.01; maxBuildingHeight: 1.8; separation: 1; autoscale: true; baseAlpha: 0.7; wireframeByRepeatedField: name"
123
123
  position="0 0.3 -1" scale="1 1 1" rotation="0 180 0"></a-entity>
124
124
 
125
125
  <a-entity id="interface" babia-ui="target: boats; hideRows: depth, width; hideFields: noMetric, level, timesAppearsSameId, nvuln, nvuln_critic, nvuln_high, nvuln_mod, nvuln_low, nvuln_info" position="-3 1.5 0" rotation="0 90 0" scale="0.1 0.1 0.1">
@@ -228,7 +228,7 @@
228
228
  let quarterheight = getValueFromQueryString('quarterheight');
229
229
  let extra = getValueFromQueryString('extra');
230
230
  if (buildingsep) {
231
- document.getElementById("boats").setAttribute('babia-boats', 'building_separation', parseFloat(buildingsep))
231
+ document.getElementById("boats").setAttribute('babia-boats', 'separation', parseFloat(buildingsep))
232
232
  }
233
233
  if (quarterheight) {
234
234
  document.getElementById("boats").setAttribute('babia-boats', 'treeQuartersLevelHeight', parseFloat(quarterheight))
@@ -0,0 +1,5 @@
1
+ [{"title": "A", "date": "2002", "area": 1, "cites": 0},
2
+ {"title": "B", "date": "2002", "area": 1, "cites": 0},
3
+ {"title": "C", "date": "2002","area": 1, "cites": 0},
4
+ {"title": "D", "date": "2002","area": 1, "cites": 0}
5
+ ]