aframe-babia-components 1.2.2 → 1.2.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 (118) hide show
  1. package/components/filters/babia-selector.js +256 -79
  2. package/components/filters/babia-treebuilder.js +1 -2
  3. package/components/geometries/babia-cyl.js +180 -0
  4. package/components/others/assets/tooltip.png +0 -0
  5. package/components/others/babia-camera.js +195 -0
  6. package/components/others/babia-controls.js +56 -31
  7. package/components/others/babia-navigator.js +55 -49
  8. package/components/others/babia-range-selector.js +208 -0
  9. package/components/others/babia-slider.js +36 -8
  10. package/components/others/babia-ui.js +246 -73
  11. package/components/others/common.js +60 -73
  12. package/components/queriers/babia-querycsv.js +96 -0
  13. package/components/queriers/babia-queryes.js +203 -132
  14. package/components/visualizers/babia-bars.js +4 -35
  15. package/components/visualizers/babia-barsmap.js +2 -30
  16. package/components/visualizers/babia-boats.js +92 -100
  17. package/components/visualizers/babia-bubbles.js +9 -26
  18. package/components/visualizers/babia-cyls.js +197 -201
  19. package/components/visualizers/babia-cylsmap.js +171 -241
  20. package/components/visualizers/babia-doughnut.js +2 -28
  21. package/components/visualizers/babia-network.js +191 -124
  22. package/components/visualizers/babia-pie.js +2 -30
  23. package/dist/aframe-babia-components.js +21678 -19529
  24. package/dist/aframe-babia-components.min.js +7 -1
  25. package/dist/aframe-babia-components.min.js.map +1 -1
  26. package/docs/APIs/CHARTS.md +10 -4
  27. package/docs/APIs/DATAMANAGEMENT.md +7 -0
  28. package/docs/APIs/OTHERS.md +27 -0
  29. package/docs/APIs/QUERIERS.md +16 -0
  30. package/docs/RELEASE_NOTES.md +32 -21
  31. package/docs/Tutorials/multiuser.md +47 -2
  32. package/examples/assets/door/New Bitmap Image.jpg +0 -0
  33. package/examples/assets/door/door.mtl +26 -0
  34. package/examples/assets/door/door.obj +6927 -0
  35. package/examples/assets/popups/0.png +0 -0
  36. package/examples/assets/popups/1.png +0 -0
  37. package/examples/assets/popups/10.png +0 -0
  38. package/examples/assets/popups/2.png +0 -0
  39. package/examples/assets/popups/3.png +0 -0
  40. package/examples/assets/popups/4.png +0 -0
  41. package/examples/assets/popups/5.png +0 -0
  42. package/examples/assets/popups/6.png +0 -0
  43. package/examples/assets/popups/7.png +0 -0
  44. package/examples/assets/popups/8.png +0 -0
  45. package/examples/assets/popups/9.png +0 -0
  46. package/examples/assets/popups/close.jpg +0 -0
  47. package/examples/assets/popups/info.jpg +0 -0
  48. package/examples/assets/textures/brownwall.png +0 -0
  49. package/examples/assets/textures/concrete.png +0 -0
  50. package/examples/assets/textures/white-wall-texture.jpg +0 -0
  51. package/examples/charts/cyls/index.html +13 -4
  52. package/examples/charts/cyls/primitive.html +76 -0
  53. package/examples/charts/cylsmap/index.html +14 -5
  54. package/examples/charts_querier/bars_querier/data.csv +10 -0
  55. package/examples/charts_querier/bars_querier/index_csv.html +80 -0
  56. package/examples/dashboard/chaoss-dashboards.html +259 -0
  57. package/examples/dashboard/chaoss-issues.html +248 -0
  58. package/examples/dashboard/chaoss-pr.html +248 -0
  59. package/examples/dashboard/index.html +247 -0
  60. package/examples/dashboard/issues_queries/80-percent-open-time.json +123 -0
  61. package/examples/dashboard/issues_queries/issues-by-organization.json +107 -0
  62. package/examples/dashboard/issues_queries/issues.json +117 -0
  63. package/examples/dashboard/issues_queries/median-open-time.json +123 -0
  64. package/examples/dashboard/issues_queries/organizations.json +130 -0
  65. package/examples/dashboard/issues_queries/projects.json +130 -0
  66. package/examples/dashboard/issues_queries/repositories.json +130 -0
  67. package/examples/dashboard/issues_queries/status.json +107 -0
  68. package/examples/dashboard/issues_queries/submitter.json +125 -0
  69. package/examples/dashboard/issues_queries/submitters.json +113 -0
  70. package/examples/dashboard/pullrequests_queries/80-percent-open-time.json +123 -0
  71. package/examples/dashboard/pullrequests_queries/median-open-time.json +123 -0
  72. package/examples/dashboard/pullrequests_queries/organizations.json +130 -0
  73. package/examples/dashboard/pullrequests_queries/projects.json +130 -0
  74. package/examples/dashboard/pullrequests_queries/pull-requests-by-organization.json +107 -0
  75. package/examples/dashboard/pullrequests_queries/pull-requests.json +117 -0
  76. package/examples/dashboard/pullrequests_queries/repositories.json +130 -0
  77. package/examples/dashboard/pullrequests_queries/status.json +107 -0
  78. package/examples/dashboard/pullrequests_queries/submitter.json +125 -0
  79. package/examples/dashboard/pullrequests_queries/submitters.json +113 -0
  80. package/examples/dashboard/range.html +88 -0
  81. package/examples/dashboard/template.html +136 -0
  82. package/examples/demos/1.0.11/index_multiuser_ui.html +1 -1
  83. package/examples/multi_bars/data.json +14 -0
  84. package/examples/multi_bars/data2.json +15 -0
  85. package/examples/multi_bars/data3.json +23 -0
  86. package/examples/multi_bars/easyrtc.js +11984 -0
  87. package/examples/multi_bars/index.html +97 -0
  88. package/examples/multi_bars/index1.html +111 -0
  89. package/examples/multi_bars/index2.html +102 -0
  90. package/examples/multi_bars/index3.html +104 -0
  91. package/examples/multi_boats/data3.json +174 -0
  92. package/examples/multi_boats/data4.json +192 -0
  93. package/examples/multi_boats/{index.html → index_multi_boats.html} +50 -55
  94. package/examples/multi_boats/jetuml.html +124 -115
  95. package/examples/multi_boats/jetuml_evolution_experiment.html +419 -0
  96. package/examples/multi_boats/only_queryjson.html +132 -0
  97. package/examples/multi_boats/only_queryjson2.html +167 -0
  98. package/examples/multi_boats/only_queryjson3.html +165 -0
  99. package/examples/multi_boats/queryjson_treebuilder.html +132 -0
  100. package/examples/multi_boats/with_selector.html +121 -111
  101. package/examples/multiuser/choose_avatar/index.html +18 -8
  102. package/examples/selector_boats/jetuml_from_3_2_to_1_0.json +62382 -0
  103. package/examples/ui/network/data.json +123 -0
  104. package/examples/ui/network/links.json +13 -0
  105. package/examples/ui/network/network.html +75 -0
  106. package/examples/ui/network/network_nodes_links.html +82 -0
  107. package/examples/ui/network/nodes.json +12 -0
  108. package/index.html +69 -3
  109. package/index.js +6 -1
  110. package/package.json +4 -3
  111. package/tests/screenshots/other_snapshots.js/chaoss-issues.png +0 -0
  112. package/tests/screenshots/other_snapshots.js/chaoss-pr.png +0 -0
  113. package/tests/screenshots/other_snapshots.js/template.png +0 -0
  114. package/tests/ui.js +7 -0
  115. package/webpack.common.js +1 -1
  116. package/webpack.devnossl.js +16 -0
  117. package/.idea/vcs.xml +0 -6
  118. package/.idea/workspace.xml +0 -79
@@ -187,15 +187,18 @@ This component shows a cylinder chart.
187
187
  | radius | the **numeric** field of the data that will define the radius of the cylynders | string | radius |
188
188
  | legend | Shows a legend when hovering a cylinder | boolean | false |
189
189
  | axis | Shows chart axis | boolean | true |
190
+ | axis_name | Shows metric labels on axis | boolean | false |
190
191
  | scale | Scales up the chart. For example: scale 1/100 => `scale: 100` | number | - |
191
- | heightMax | Adjusts the height of the chart. | number | - |
192
- | radiusMax | Adjusts bubbles' radius of the chart. | number | - |
192
+ | chartHeight | Adjusts the height of the chart. | number | 10 |
193
+ | keepHeight | Keep height when updating data. | boolean | true |
194
+ | radiusMax | Adjusts bubbles' radius of the chart. | number | 2 |
193
195
  | palette | Color palette of the chart `blues` `bussiness` `sunset`. [See more](#color-palettes) | string | ubuntu |
194
196
  | title | Shows chart title | string | - |
195
197
  | titleFont | Font of the title. Path to a typeface.json file or selector to `<a-asset-item>`. [See more](#fonts) | JSON (list of objects) | https://rawgit.com/supermedium/superframe/master/components/text-geometry/lib/helvetiker_regular.typeface.json |
196
198
  | titleColor | Color of the title | string | #FFFFFF |
197
199
  | titlePosition | Position of the title | string | 0 0 0 |
198
200
  | animation | Animates chart | boolean | false |
201
+ | dur | Duration of the animation(ms) | number | 2000 |
199
202
  | data | Data to show with the chart. **Important**: Using this attribute will disable the `from` attribute. | JSON (list of objects) | - |
200
203
 
201
204
  #### Data format example
@@ -222,15 +225,18 @@ This component shows a 3D cylinder chart.
222
225
  | radius | the **numeric** field of the data that will define the radius of the cylynders | string | radius |
223
226
  | legend | Shows a legend when hovering a cylinder | boolean | false |
224
227
  | axis | Shows chart axis | boolean | true |
228
+ | axis_name | Shows metric labels on axis | boolean | false |
225
229
  | scale | Scales up the chart. For example: scale 1/100 => `scale: 100` | number | - |
226
- | heightMax | Adjusts the height of the chart. | number | - |
227
- | radiusMax | Adjusts bubbles' radius of the chart. | number | - |
230
+ | chartHeight | Adjusts the height of the chart. | number | 10 |
231
+ | keepHeight | Keep height when updating data. | boolean | true |
232
+ | radiusMax | Adjusts bubbles' radius of the chart. | number | 2 |
228
233
  | palette | Color palette of the chart `blues` `bussiness` `sunset`. [See more](#color-palettes) | string | ubuntu |
229
234
  | title | Shows chart title | string | - |
230
235
  | titleFont | Font of the title. Path to a typeface.json file or selector to `<a-asset-item>`. [See more](#fonts) | JSON (list of objects) | https://rawgit.com/supermedium/superframe/master/components/text-geometry/lib/helvetiker_regular.typeface.json |
231
236
  | titleColor | Color of the title | string | #FFFFFF |
232
237
  | titlePosition | Position of the title | string | 0 0 0 |
233
238
  | animation | Animates chart | boolean | false |
239
+ | dur | Duration of the animation(ms) | number | 2000 |
234
240
  | data | Data to show with the chart. **Important**: Using this attribute will disable the `from` attribute. | JSON (list of objects) | - |
235
241
 
236
242
  #### Data format example
@@ -53,7 +53,14 @@ You need the `babia-navigator` to manage the progress.
53
53
  | select | Field to filter data | string | `date` |
54
54
  | timeout | Time between points of time in seconds | number | 6000 |
55
55
  | data | Embedded data to filter. **Important**: Using this attribute will disable the `from` attribute. | JSON (list of objects) | - |
56
+ | current_value | Current value of the time evolution **Important**: This attribute allows to the timeline to start at any point desired. It is also important for the syncronization in multiuser mode. | number | -2 |
57
+ | speed | Speed of the time evolution | number | 0 |
58
+ | step | Step of the time evolution | number | 0 |
59
+ | direction | Direction of the time evolution (`forward` or `rewind`). If is empty or it gets a different value, it behaves like `forward` | string | `forward`
60
+ | state | State of the time evolution (`play` or `pause`). If is empty or it gets a different value, it behaves like `play` | string | `play`
56
61
 
57
62
  **NOTE:** You can use multiple visualizers with the same selector component. Only indicating its id in `from` of any visualizer. All of them will be managed by the same navigator component.
58
63
 
59
64
  **IMPORTANT:** If you use this component with other filters, the correct order is: `Querier > Filters > Selector`. For `babia-boats` you need treebuilder component too, so the order is: `Querier > Filters > Selector > Treebuilder`. Not following this order can not work.
65
+
66
+ **IMPORTANT:** In order to activate multiuser mode for selector and navigator, remember to add `network` component before `babia-selector` component in the entity. Navigator does not need to be syncronized.
@@ -49,6 +49,12 @@ To work needs to indicate it inside the selector
49
49
  ```html
50
50
  <a-entity id="nav" babia-navigator></a-entity>
51
51
  ```
52
+ #### API
53
+
54
+ | Property | Description | Type | Default value |
55
+ | -------- | ----------- | ---- | ----- |
56
+ | direction | Direction of the time evolution (`forward` or `rewind`). If is empty or it gets a different value, it behaves like `forward`. **Important:** Do not set this value manually, it will be updated with the direction value of the selector via notiBuffer. | string | `forward`
57
+ | state | State of the time evolution (`play` or `pause`). If is empty or it gets a different value, it behaves like `play`. **Important:** Do not set this value manually, it will be updated with the state value of the selector via notiBuffer | string | `play`
52
58
 
53
59
  ### babia-axis components
54
60
 
@@ -121,4 +127,25 @@ This component adds a z axis to the graph.
121
127
  ```html
122
128
  <a-entity babia-axis-z = 'labels: continents, ticks: calculatedTicks, length: 10, palette: pearl,
123
129
  align: front, name: continent'></a-entity>
130
+ ```
131
+
132
+ #### **babia-camera component**
133
+
134
+ This component replaces A-frame camera and cursor components and inserts oculus controllers.
135
+
136
+ #### API
137
+
138
+ | Property | Description | Type | Default value |
139
+ | -------- | ----------- | ---- | ----- |
140
+ | raycasterMouse | Objects the raycaster can interact with | string | .babiaxraycasterclass |
141
+ | raycasterHand | Objects the raycaster can interact with | string | .babiaxraycasterclass |
142
+ | tipsOpened | Displays tips about hand controllers | boolean | true |
143
+ | triggerRLabel | Action label for this button | string | Click |
144
+ | triggerLLabel | Action label for this button | string | Teleport |
145
+ | gridRLabel | Action label for this button | string | Open/Close Tips |
146
+ | grigLLabel | Action label for this button | string | Stop Audio |
147
+ | teleportCollision | Selector of the meshes used to check the collisions | string | .environmentGround |
148
+
149
+ ```html
150
+ <a-entity id="head" babia-camera="raycasterMouse: .babiaxraycasterclass, #audio_button; raycasterHand: .babiaxraycasterclass, #audio_button" look-controls wasd-controls="fly: false"></a-entity>
124
151
  ```
@@ -21,9 +21,12 @@ This component will put the data retrieved into the `babiaData` attribute of the
21
21
  | Property | Description | Type | Default value |
22
22
  | -------- | ----------- | ---- | ------ |
23
23
  | elasticsearch_url | Url of ElasticSearch | string | - |
24
+ | user | Username for the ElasticSearch if secured | string | - |
25
+ | password | Password for the ElasticSearch if secured | string | - |
24
26
  | index | Index of the query | string | - |
25
27
  | size | Size of the max results of the query | int | 10 |
26
28
  | query | Query using the Lucene query string syntax, p.e: `q=name:dlumbrer` | string | - |
29
+ | request | JSON body with aggregations that summarizes your data (See [example](https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/queryes/index.html))| string | - |
27
30
 
28
31
  > **Important**: The ElasticSearch must have enabled cross-origin resource sharing because the queries are made by the browser. See this [ElasticSearch reference](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html)
29
32
 
@@ -40,6 +43,19 @@ This component will put the data retrieved into the `babiaData` attribute of the
40
43
  | url | Url of the file with the JSON data | string | - |
41
44
  | data | JSON data directly stringified in the property | string | - |
42
45
 
46
+ ### babia-querycsv component
47
+
48
+ Component that will retrieve data from a CSV input that can be defined as an url or directly embedded.
49
+
50
+ This component will put the data retrieved into the `babiaData` attribute of the entity.
51
+
52
+ #### API
53
+
54
+ | Property | Description | Type | Default value |
55
+ | -------- | ----------- | ---- | ------ |
56
+ | url | Url of the file with the CSV data | string | - |
57
+ | data | CSV data directly stringified in the property | string | - |
58
+
43
59
 
44
60
  ### babia-querygithub component
45
61
 
@@ -2,29 +2,15 @@
2
2
 
3
3
  This doc gathers all the information about the releases made by the Springs/Milestones of BabiaXR.
4
4
 
5
- ## Springs/Milestones
5
+ ## Release notes
6
6
 
7
- | Name | Start date | End Date | Information | Board | Release Notes | NPM version |
8
- | -------- | ----------- | ---- | ----- | ------ | ------ | ------- |
9
- | Akira | 2020-04-22 | 2020-05-06 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/2) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Akira) | [Link](#akira) | 1.0.7 |
10
- | Bobobo | 2020-05-06 | 2020-05-20 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/3) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Bobobo) | [Link](#bobobo) | 1.0.8 |
11
- | Cowboy Bepop | 2020-05-20 | 2020-06-11 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/4) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Cowboy%20Bepop) | [Link](#cowboy-bepop) | 1.0.9 |
12
- | Detective Conan | 2020-06-10 | 2020-06-24 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/5) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Detective%20Conan) | [Link](#detective-conan) | 1.0.10 |
13
- | Excel Saga | 2020-06-24 | 2020-07-08 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/6) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Excel%20Saga) | [Link](#excel-saga) | - |
14
- | Fairy Tail | 2020-07-22 | 2020-08-05 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/7) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Fairy%20Tail) | [Link](#fairy-tail) | - |
15
- | Gantz | 2020-08-19 | 2020-09-02 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/8) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Gantz) | [Link](#gantz) | - |
16
- | Haikyu!! | 2020-09-09 | 2020-10-22 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/9) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Haikyu!!) | [Link](#haikyu!!) | 1.0.11 |
17
- | Inuyasha | 2020-10-22 | 2020-11-05 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/10) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Inuyasha) | [Link](#inuyasha) | 1.0.12 |
18
- | Kakegurui | - | - | [Link](https://gitlab.com/groups/babiaxr/-/milestones/12) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Kakegurui) | [Link](#kakegurui) | 1.1.0 |
19
- | Light | - | 2021-03-08 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/13) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Light) | [Link](#light) | 1.1.1 |
20
- | Mazinger Z | - | 2021-04-21 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/14) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&milestone_title=Mazinger%20Z) | [Link](#mazinger-z) | - |
21
- | Naruto | - | 2021-05-04 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/15) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&milestone_title=Naruto) | [Link](#naruto) | 1.1.2 |
22
- | One Punch Man | 2021-05-04 | 2021-06-07 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/16) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&milestone_title=One%20Punch%20Man) | [Link](#one-punch-man) | 1.1.3 |
23
- | Pokemon | 2021-06-07 | 2021-06-26 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/17) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&milestone_title=Pokemon) | [Link](#pokemon) | 1.1.4 |
24
- | Queens Blade | 2021-06-26 | 2021-09-29 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/18) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&milestone_title=Queens%20Blade) | [Link](#queens-blade) | 1.2.1 |
7
+ ### No-name
25
8
 
9
+ > NPM 1.2.3 version
26
10
 
27
- ## Release notes
11
+ #### Querycsv
12
+
13
+ Included this new component
28
14
 
29
15
  ### ReLIFE
30
16
 
@@ -294,4 +280,29 @@ Selector adapted to all the components
294
280
  - Added `querier_es` to query ElasticSearch Databases.
295
281
  - Added cylinder (3D an 3D) and doughnut charts to the components set.
296
282
  - Added animation to the visualizations (except pie and doughnut chart).
297
- - Added Totem chart in order to change the data of some visualizations dynamically.
283
+ - Added Totem chart in order to change the data of some visualizations dynamically.
284
+
285
+
286
+
287
+ ## Springs/Milestones
288
+
289
+ | Name | Start date | End Date | Information | Board | Release Notes | NPM version |
290
+ | -------- | ----------- | ---- | ----- | ------ | ------ | ------- |
291
+ | Akira | 2020-04-22 | 2020-05-06 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/2) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Akira) | [Link](#akira) | 1.0.7 |
292
+ | Bobobo | 2020-05-06 | 2020-05-20 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/3) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Bobobo) | [Link](#bobobo) | 1.0.8 |
293
+ | Cowboy Bepop | 2020-05-20 | 2020-06-11 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/4) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Cowboy%20Bepop) | [Link](#cowboy-bepop) | 1.0.9 |
294
+ | Detective Conan | 2020-06-10 | 2020-06-24 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/5) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Detective%20Conan) | [Link](#detective-conan) | 1.0.10 |
295
+ | Excel Saga | 2020-06-24 | 2020-07-08 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/6) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Excel%20Saga) | [Link](#excel-saga) | - |
296
+ | Fairy Tail | 2020-07-22 | 2020-08-05 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/7) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Fairy%20Tail) | [Link](#fairy-tail) | - |
297
+ | Gantz | 2020-08-19 | 2020-09-02 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/8) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Gantz) | [Link](#gantz) | - |
298
+ | Haikyu!! | 2020-09-09 | 2020-10-22 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/9) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Haikyu!!) | [Link](#haikyu!!) | 1.0.11 |
299
+ | Inuyasha | 2020-10-22 | 2020-11-05 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/10) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Inuyasha) | [Link](#inuyasha) | 1.0.12 |
300
+ | Kakegurui | - | - | [Link](https://gitlab.com/groups/babiaxr/-/milestones/12) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Kakegurui) | [Link](#kakegurui) | 1.1.0 |
301
+ | Light | - | 2021-03-08 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/13) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&state=opened&milestone_title=Light) | [Link](#light) | 1.1.1 |
302
+ | Mazinger Z | - | 2021-04-21 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/14) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&milestone_title=Mazinger%20Z) | [Link](#mazinger-z) | - |
303
+ | Naruto | - | 2021-05-04 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/15) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&utf8=%E2%9C%93&milestone_title=Naruto) | [Link](#naruto) | 1.1.2 |
304
+ | One Punch Man | 2021-05-04 | 2021-06-07 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/16) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&milestone_title=One%20Punch%20Man) | [Link](#one-punch-man) | 1.1.3 |
305
+ | Pokemon | 2021-06-07 | 2021-06-26 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/17) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&milestone_title=Pokemon) | [Link](#pokemon) | 1.1.4 |
306
+ | Queens Blade | 2021-06-26 | 2021-09-29 | [Link](https://gitlab.com/groups/babiaxr/-/milestones/18) | [Link](https://gitlab.com/groups/babiaxr/-/boards?scope=all&milestone_title=Queens%20Blade) | [Link](#queens-blade) | 1.2.1 |
307
+
308
+ **DEPRECATED**
@@ -324,9 +324,11 @@ NAF.schemas.add({
324
324
 
325
325
  ### Special case 4: **babia querier**
326
326
 
327
- If we are using a querier to get the data it needs to be syncronized as well, so we need to add it to the schema of the entity that contains it.
327
+ If we are using a querier and a filter to get and process the data, we can choose to syncronize just the querier instead of the graph. In this case, we need to add it to the schema of the entity that contains it. It is going to be a persistent entity, that does not duplicate entities when new clients connect.
328
+
329
+ In the case where querier/filter and graphs are in the same entity, we simply syncronize the entity that contains them all and add the three components to the schema.
330
+
328
331
 
329
- In this case, we want a persistent entity, that does not duplicate entities when new clients connect.
330
332
 
331
333
  ```html
332
334
  <!-- TEMPLATE -->
@@ -376,6 +378,49 @@ scene.addEventListener('child-attached', function (event) {
376
378
 
377
379
  ```
378
380
 
381
+ ### Special case 6: **babia-selector and babia-navigator**
382
+
383
+ When we are working with temporal evolution of a graph with a selector and a navigator, the entity containing the **selector is the only one** that needs to be syncronized. Once adding the **networked** component to it, creating the template and adding the babia-selector to the schema, the component is going to behave in the multiuser mode automatically.
384
+
385
+ ```html
386
+ <!-- TEMPLATE -->
387
+ <template id="selector-template">
388
+ <a-entity class="selector"></a-entity>
389
+ </template>
390
+
391
+ <!-- ENTITY -->
392
+ <a-entity id="selector" networked="template:#selector-template; networkId:selector; persistent: true; owner: scene" babia-selector="from: querier; controller: nav"></a-entity>
393
+ ```
394
+ ```javascript
395
+ /* SCHEMA */
396
+ NAF.schemas.add({
397
+ template: '#selector-template',
398
+ components: [
399
+ 'babia-selector'
400
+ ]
401
+ })
402
+ ```
403
+
404
+
405
+ >IMPORTANT: The **networked** component needs to appear **before** the **babia-selector** component. This is important because the selector needs to check the existance of the networked component in order to activate the multiuser mode.
406
+
407
+ **How does the multiuser mode work?**
408
+ - When the first user enters and creates the scene, the selector owner is the scene, meaning no user has control over it.
409
+
410
+ - When a second user enters the scene, the ownership of the selector will change and the first user will get it, so they will now have control over it.
411
+
412
+ - When this happens, the second user will hide the controls of the navigator and only show the main slider.
413
+
414
+ - The new user is going to update its selector current value when syncronizing it, so that if the first user was already seeing the slider in the third position, the new user will see the same. This also happens with the values of the direction (forward/backwards), the state (play/pause), the step and the speed.
415
+
416
+ - Whenever the owner interacts with the navigator, the other user will receive all the changes.
417
+
418
+ - This behaviour is going to be repeated every time a new user enters. This way only the first one will have the ownership until someone else asks for this ownership.
419
+
420
+ - If another user wants to ask for the ownership, they have to click on the navigator and the ownership will be transfered to them. The old owner will hide the controls and the new owner will now show them with the same values that the old owner had (direction, state, step and speed).
421
+
422
+ - When the owner leaves the scene, the ownership is transfered in order of arrival.
423
+
379
424
  **Same ui for more than one graph**
380
425
 
381
426
  When we use the same ui for more than one graph, we need to ask for the ownership of a different graph depending on which one is activated. In order to do so, we just have to get the target and use it in the previous code, so it acts on the specific selected graph and no other:
File without changes
@@ -0,0 +1,26 @@
1
+ # 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
2
+ # File Created: 16.08.2012 14:06:35
3
+
4
+ newmtl White_Mat__wood_
5
+ Ns 26.0000
6
+ Ni 1.5000
7
+ d 1.0000
8
+ Tr 0.0000
9
+ Tf 1.0000 1.0000 1.0000
10
+ illum 2
11
+ Ka 0.9686 0.9686 0.9686
12
+ Kd 0.9686 0.9686 0.9686
13
+ Ks 0.4050 0.4050 0.4050
14
+ Ke 0.0000 0.0000 0.0000
15
+
16
+ newmtl Silver_mat
17
+ Ns 60.0000
18
+ Ni 1.5000
19
+ d 1.0000
20
+ Tr 0.0000
21
+ Tf 1.0000 1.0000 1.0000
22
+ illum 2
23
+ Ka 0.6980 0.6980 0.6980
24
+ Kd 0.6980 0.6980 0.6980
25
+ Ks 0.5676 0.5676 0.5676
26
+ Ke 0.0000 0.0000 0.0000