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
@@ -0,0 +1,123 @@
1
+ [{"country": "Italy", "continent": "Europe", "size": 301300},
2
+ {"country": "China", "continent": "Asia", "size": 9600000},
3
+ {"country": "Spain", "continent": "Europe", "size": 505400},
4
+ {"country": "Germany", "continent": "Europe", "size": 357000},
5
+ {"country": "France", "continent": "Europe", "size": 643800},
6
+ {"country": "India", "continent": "Asia", "size": 3290000},
7
+ {"country": "Mexico", "continent": "America", "size": 1970000},
8
+ {"country": "UK", "continent": "Europe", "size": 243600},
9
+ {"country": "Russia", "continent": "Europe", "size": 17100000},
10
+ {"country": "USA", "continent": "America", "size": 9160000},
11
+ {"country": "Estonia", "continent": "Europe", "size": 45230},
12
+ {"country": "Senegal", "continent": "Africa", "size": 196700},
13
+ {"country": "Benin", "continent": "Africa", "size": 112600},
14
+ {"country": "Uruguay", "continent": "America", "size": 175000},
15
+ {"country": "Canada", "continent": "America", "size": 9970000},
16
+ {"country": "Australia", "continent": "Oceania", "size": 7690000},
17
+ {"country": "Guinea", "continent": "Africa", "size": 246000},
18
+ {"country": "Fidji", "continent": "Oceania", "size": 18275},
19
+ {"country": "Indonesia", "continent": "Asia", "size": 1900000},
20
+ {"country": "Samoa", "continent": "Oceania", "size": 2831},
21
+ {"country": "Greece", "continent": "Europe", "size": 131960},
22
+ {"country": "South Korea", "continent": "Asia", "size": 103000},
23
+ {"country": "Poland", "continent": "Europe", "size": 312700},
24
+ {"country": "Kenia", "continent": "Africa", "size": 580000},
25
+ {"country": "New Zealand", "continent": "Oceania", "size": 268000},
26
+ {"country": "Philippines", "continent": "Asia", "size": 300000},
27
+ {"country": "Tanzania", "continent": "Africa", "size": 945000},
28
+ {"country": "Papua New Guinea", "continent": "Oceania", "size": 463000},
29
+ {"country": "Japan", "continent": "Asia", "size": 378000},
30
+ {"country": "Costa Rica", "continent": "America", "size": 51100},
31
+
32
+ {"country": "Hungary", "continent": "Europe", "size": 93030},
33
+ {"country": "Thailand", "continent": "Asia", "size": 513100},
34
+ {"country": "Denmark", "continent": "Europe", "size": 43100},
35
+ {"country": "Finland", "continent": "Europe", "size": 338150},
36
+ {"country": "Lithuania", "continent": "Europe", "size": 65300},
37
+ {"country": "Pakistan", "continent": "Asia", "size": 799400},
38
+ {"country": "Argentina", "continent": "America", "size": 2780000},
39
+ {"country": "Peru", "continent": "America", "size": 1970000},
40
+ {"country": "Chile", "continent": "America", "size": 756000},
41
+ {"country": "Puerto Rico", "continent": "America", "size": 94900},
42
+ {"country": "Austria", "continent": "Europe", "size": 83870},
43
+ {"country": "Argelia", "continent": "Africa", "size": 2382000},
44
+ {"country": "Congo", "continent": "Africa", "size": 342000},
45
+ {"country": "Paraguay", "continent": "America", "size": 406750},
46
+ {"country": "Colombia", "continent": "America", "size": 1140000},
47
+ {"country": "Nepal", "continent": "Asia", "size": 147200},
48
+ {"country": "Libia", "continent": "Africa", "size": 176000},
49
+ {"country": "Mongolia", "continent": "Asia", "size": 1575000},
50
+ {"country": "Malaysia", "continent": "Asia", "size": 330000},
51
+ {"country": "Vanuatu", "continent": "Oceania", "size": 12190},
52
+ {"country": "Belgium", "continent": "Europe", "size": 30530},
53
+ {"country": "Singapur", "continent": "Asia", "size": 697},
54
+ {"country": "Serbia", "continent": "Europe", "size": 77470},
55
+ {"country": "Chad", "continent": "Africa", "size": 1284000},
56
+ {"country": "Nauru", "continent": "Oceania", "size": 23.1},
57
+ {"country": "Vietnam", "continent": "Asia", "size": 331200},
58
+ {"country": "Niger", "continent": "Africa", "size": 1267000},
59
+ {"country": "Cook Islands", "continent": "Oceania", "size": 237},
60
+ {"country": "Cambodia", "continent": "Asia", "size": 181000},
61
+ {"country": "Cuba", "continent": "America", "size": 110000},
62
+
63
+ {"country": "Ireland", "continent": "Europe", "size": 70270},
64
+ {"country": "Uzbekistan", "continent": "Asia", "size": 447400},
65
+ {"country": "Romania", "continent": "Europe", "size": 239000},
66
+ {"country": "Norway", "continent": "Europe", "size": 323800},
67
+ {"country": "Luxembourg", "continent": "Europe", "size": 2590},
68
+ {"country": "Bangladesh", "continent": "Asia", "size": 144000},
69
+ {"country": "Bolivia", "continent": "America", "size": 1100000},
70
+ {"country": "Iceland", "continent": "Europe", "size": 103000},
71
+ {"country": "Andorra", "continent": "Europe", "size": 468},
72
+ {"country": "Barbados", "continent": "America", "size": 430},
73
+ {"country": "Croatia", "continent": "Europe", "size": 56600},
74
+ {"country": "Sierra Leona", "continent": "Africa", "size": 71740},
75
+ {"country": "South Africa", "continent": "Africa", "size": 1221000},
76
+ {"country": "Dominican Republic", "continent": "America", "size": 47900},
77
+ {"country": "El Salvador", "continent": "America", "size": 21040},
78
+ {"country": "Tuvalu", "continent": "Oceania", "size": 26},
79
+ {"country": "Ecuatorial Guinea", "continent": "Africa", "size": 28050},
80
+ {"country": "Palaos", "continent": "Oceania", "size": 460},
81
+ {"country": "Turkey", "continent": "Asia", "size": 783560},
82
+ {"country": "Trinidad and Tobago", "continent": "America", "size": 5155},
83
+ {"country": "Latvia", "continent": "Europe", "size": 64590},
84
+ {"country": "Iran", "continent": "Asia", "size": 1650000},
85
+ {"country": "Portugal", "continent": "Europe", "size": 92100},
86
+ {"country": "Cabo Verde", "continent": "Africa", "size": 4035},
87
+ {"country": "Kiribati", "continent": "Oceania", "size": 811},
88
+ {"country": "Myanmar", "continent": "Asia", "size": 676600},
89
+ {"country": "Gambia", "continent": "Africa", "size": 10400},
90
+ {"country": "Mali", "continent": "Africa", "size": 1240000},
91
+ {"country": "Iraq", "continent": "Asia", "size": 438300},
92
+ {"country": "Honduras", "continent": "America", "size": 112100},
93
+
94
+ {"country": "Sweden", "continent": "Europe", "size": 450300},
95
+ {"country": "Afghanistan", "continent": "Asia", "size": 652230},
96
+ {"country": "Slovenia", "continent": "Europe", "size": 20275},
97
+ {"country": "Slovakia", "continent": "Europe", "size": 49050},
98
+ {"country": "Netherlands", "continent": "Europe", "size": 41870},
99
+ {"country": "Saudi Arabia", "continent": "Asia", "size": 2150000},
100
+ {"country": "Guatemala", "continent": "America", "size": 109000},
101
+ {"country": "Suriname", "continent": "America", "size": 163800},
102
+ {"country": "Venezuela", "continent": "America", "size": 915000},
103
+ {"country": "Ecuador", "continent": "America", "size": 255000},
104
+ {"country": "Bulgaria", "continent": "Europe", "size": 110880},
105
+ {"country": "Ghana", "continent": "Africa", "size": 238500},
106
+ {"country": "Democratic Republic of Congo", "continent": "Africa", "size": 2345000},
107
+ {"country": "Brazil", "continent": "America", "size": 8515000},
108
+ {"country": "Nicaragua", "continent": "America", "size": 121430},
109
+ {"country": "Sri Lanka", "continent": "Asia", "size": 65600},
110
+ {"country": "Morocco", "continent": "Africa", "size": 446500},
111
+ {"country": "Israel", "continent": "Asia", "size": 22070},
112
+ {"country": "Kazakhstan", "continent": "Asia", "size": 2725000},
113
+ {"country": "French Polynesia", "continent": "Oceania", "size": 4167},
114
+ {"country": "Cyprus", "continent": "Europe", "size": 9250},
115
+ {"country": "Syria", "continent": "Asia", "size": 185200},
116
+ {"country": "Czechia", "continent": "Europe", "size": 78870},
117
+ {"country": "Angola", "continent": "Africa", "size": 1247000},
118
+ {"country": "Guam", "continent": "Oceania", "size": 549},
119
+ {"country": "Jordan", "continent": "Asia", "size": 89350},
120
+ {"country": "Mauritania", "continent": "Africa", "size": 1030000},
121
+ {"country": "Micronesia", "continent": "Oceania", "size": 702},
122
+ {"country": "Azerbaijan", "continent": "Asia", "size": 86600},
123
+ {"country": "Panama", "continent": "America", "size": 74180}]
@@ -0,0 +1,13 @@
1
+ [
2
+ {"id": "Link 1", "from": "China","target": "Italy"},
3
+ {"id": "Link 2", "from": "China","target": "Spain"},
4
+ {"id": "Link 3", "from": "Spain","target": "Germany"},
5
+ {"id": "Link 4", "from": "Spain","target": "France"},
6
+ {"id": "Link 4", "from": "China","target": "France"},
7
+ {"id": "Link 5", "from": "China","target": "India"},
8
+ {"id": "Link 6", "from": "UK","target": "Mexico"},
9
+ {"id": "Link 6", "from": "Spain","target": "Mexico"},
10
+ {"id": "Link 7", "from": "China","target": "UK"},
11
+ {"id": "Link 8", "from": "China","target": "Russia"},
12
+ {"id": "Link 9", "from": "China","target": "USA"}
13
+ ]
@@ -0,0 +1,75 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <title>A-Frame 3D Force-Directed Graph Component - Basic</title>
7
+ <meta name="description" content="Basic example for 3D Force-Directed Graph component.">
8
+ </meta>
9
+ <script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.0/dist/aframe-extras.min.js"></script>
11
+ <script src="https://unpkg.com/aframe-environment-component@1.2.0/dist/aframe-environment-component.min.js"></script>
12
+ <script src="../../../dist/aframe-babia-components.js"></script>
13
+ <link rel="stylesheet" href="../../assets/gitlab-corner.css">
14
+ </head>
15
+
16
+ <body>
17
+ <a-scene background="color: #4682B4" id="AframeScene" stats>
18
+
19
+ <a-entity id="queriertest" babia-queryjson="url: ./data.json;"></a-entity>
20
+
21
+ <a-entity id="network" babia-filter="from: queriertest; filter: continent=Asia" babia-network='nodeId: country; nodeLabel: country;nodeAutoColorBy: country;
22
+ nodeResolution: 10; nodeVal: size; nodeRelSize: 0.05;
23
+ linkId: continent; linkWidth: 0.2; nodeLegend: true; linkLegend: true; linkLabel: linkId'
24
+ rotation="0 -90 0">
25
+ </a-entity>
26
+ <a-entity id="ui_network" babia-ui="target: network" position="0 -30 50" rotation="-30 20 -10"
27
+ scale="10 10 10">
28
+
29
+ </a-entity>
30
+
31
+ <a-entity movement-controls="fly: true" position="20 40 100" rotation="-30 20 -10">
32
+ <a-entity camera position="0 0 0" look-controls>
33
+ <!-- UI Component -->
34
+ </a-entity>
35
+
36
+ <a-entity cursor="rayOrigin:mouse" raycaster></a-entity>
37
+ <a-entity laser-controls="hand: right" raycaster></a-entity>
38
+ </a-entity>
39
+ </a-scene>
40
+
41
+
42
+ <!-- GITLAB CORNER-->
43
+ <div class="gitlab-corner-wrapper"><a href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/charts_querier/network_chart_querier/index.html" class="gitlab-corner"
44
+ aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art" xmlns="http://www.w3.org/2000/svg"
45
+ viewBox="0 0 586 559">
46
+ <g id="g44">
47
+ <path id="path46" class="cls-1"
48
+ d="M461.17,301.83l-18.91-58.12L404.84,128.43a6.47,6.47,0,0,0-12.27,0L355.15,243.64H230.82L193.4,128.43a6.46,6.46,0,0,0-12.26,0L143.78,243.64l-18.91,58.19a12.88,12.88,0,0,0,4.66,14.39L293,435,456.44,316.22a12.9,12.9,0,0,0,4.73-14.39" />
49
+ </g>
50
+ <g id="g48">
51
+ <path id="path50" class="cls-2" d="M293,434.91h0l62.16-191.28H230.87L293,434.91Z" />
52
+ </g>
53
+ <g id="g56">
54
+ <path id="path58" class="cls-1" d="M293,434.91,230.82,243.63h-87L293,434.91Z" />
55
+ </g>
56
+ <g id="g64">
57
+ <path id="path66" class="cls-3"
58
+ d="M143.75,243.69h0l-18.91,58.12a12.88,12.88,0,0,0,4.66,14.39L293,435,143.75,243.69Z" />
59
+ </g>
60
+ <g id="g72">
61
+ <path id="path74" class="cls-2" d="M143.78,243.69h87.11L193.4,128.49a6.47,6.47,0,0,0-12.27,0l-37.35,115.2Z" />
62
+ </g>
63
+ <g id="g76">
64
+ <path id="path78" class="cls-1" d="M293,434.91l62.16-191.28H442.3L293,434.91Z" />
65
+ </g>
66
+ <g id="g80">
67
+ <path id="path82" class="cls-3"
68
+ d="M442.24,243.69h0l18.91,58.12a12.85,12.85,0,0,1-4.66,14.39L293,434.91l149.2-191.22Z" />
69
+ </g>
70
+ <g id="g84">
71
+ <path id="path86" class="cls-2" d="M442.28,243.69h-87.1l37.42-115.2a6.46,6.46,0,0,1,12.26,0l37.42,115.2Z" />
72
+ </g>
73
+ </svg></a></div>
74
+ </body>
75
+ </html>
@@ -0,0 +1,82 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <title>A-Frame Babia Network Component</title>
7
+ <meta name="description" content="Example for BabiaXR- component.">
8
+ </meta>
9
+ <script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.0/dist/aframe-extras.min.js"></script>
11
+ <script src="https://unpkg.com/aframe-environment-component@1.0.0/dist/aframe-environment-component.min.js"></script>
12
+ <script src="../../../dist/aframe-babia-components.js"></script>
13
+ <link rel="stylesheet" href="../../assets/gitlab-corner.css">
14
+ </head>
15
+
16
+ <body>
17
+ <a-scene background="color: grey" id="AframeScene">
18
+ <a-entity id="nodes"
19
+ babia-queryjson='url: nodes.json;'>
20
+ </a-entity>
21
+ <a-entity id="links"
22
+ babia-queryjson='url: links.json;'>
23
+ </a-entity>
24
+ <a-entity id="nodes_filter"
25
+ babia-filter='from: nodes; filter: continent=Europe'>
26
+ </a-entity>
27
+ <a-entity id="links_filter"
28
+ babia-filter='from: links; filter: source=China'>
29
+ </a-entity>
30
+
31
+ <a-entity id="network" babia-network='nodesFrom: nodes; linksFrom: links;
32
+ nodeId: country; nodeLabel: country; nodeAutoColorBy: country;
33
+ nodeResolution: 20; nodeVal: size; nodeRelSize: 0.04;
34
+ linkWidth: 0.5; linkAutoColorBy: source; linkSource: from;
35
+ nodeLegend: true; linkLegend: true; linkLabel: id; linkId:id'
36
+ rotation="0 0 90">
37
+ </a-entity>
38
+ <a-entity id="ui_network" babia-ui="target: network" position="0 0 50" rotation="-90 20 -200"
39
+ scale="10 10 10"></a-entity>
40
+
41
+ <a-entity movement-controls="fly: true" position="0 90 0" rotation="-90 90 90">
42
+ <a-entity camera position="0 0 0" look-controls></a-entity>
43
+ <a-entity cursor="rayOrigin:mouse" raycaster></a-entity>
44
+ <a-entity laser-controls="hand: right" raycaster></a-entity>
45
+ </a-entity>
46
+ </a-scene>
47
+
48
+ <!-- GITLAB CORNER-->
49
+ <div class="gitlab-corner-wrapper"><a href="https://gitlab.com/babiaxr/aframe-babia-components/-/blob/master/examples/charts/network_chart/index.html" class="gitlab-corner"
50
+ aria-label="View source on GitLab"><svg id="logo_art" data-name="logo art" xmlns="http://www.w3.org/2000/svg"
51
+ viewBox="0 0 586 559">
52
+ <g id="g44">
53
+ <path id="path46" class="cls-1"
54
+ d="M461.17,301.83l-18.91-58.12L404.84,128.43a6.47,6.47,0,0,0-12.27,0L355.15,243.64H230.82L193.4,128.43a6.46,6.46,0,0,0-12.26,0L143.78,243.64l-18.91,58.19a12.88,12.88,0,0,0,4.66,14.39L293,435,456.44,316.22a12.9,12.9,0,0,0,4.73-14.39" />
55
+ </g>
56
+ <g id="g48">
57
+ <path id="path50" class="cls-2" d="M293,434.91h0l62.16-191.28H230.87L293,434.91Z" />
58
+ </g>
59
+ <g id="g56">
60
+ <path id="path58" class="cls-1" d="M293,434.91,230.82,243.63h-87L293,434.91Z" />
61
+ </g>
62
+ <g id="g64">
63
+ <path id="path66" class="cls-3"
64
+ d="M143.75,243.69h0l-18.91,58.12a12.88,12.88,0,0,0,4.66,14.39L293,435,143.75,243.69Z" />
65
+ </g>
66
+ <g id="g72">
67
+ <path id="path74" class="cls-2" d="M143.78,243.69h87.11L193.4,128.49a6.47,6.47,0,0,0-12.27,0l-37.35,115.2Z" />
68
+ </g>
69
+ <g id="g76">
70
+ <path id="path78" class="cls-1" d="M293,434.91l62.16-191.28H442.3L293,434.91Z" />
71
+ </g>
72
+ <g id="g80">
73
+ <path id="path82" class="cls-3"
74
+ d="M442.24,243.69h0l18.91,58.12a12.85,12.85,0,0,1-4.66,14.39L293,434.91l149.2-191.22Z" />
75
+ </g>
76
+ <g id="g84">
77
+ <path id="path86" class="cls-2" d="M442.28,243.69h-87.1l37.42-115.2a6.46,6.46,0,0,1,12.26,0l37.42,115.2Z" />
78
+ </g>
79
+ </svg></a></div>
80
+ </body>
81
+
82
+ </html>
@@ -0,0 +1,12 @@
1
+ [
2
+ {"country": "Italy", "continent": "Europe", "size": 301300},
3
+ {"country": "China", "continent": "Asia","size": 9600000},
4
+ {"country": "Spain", "continent": "Europe","size": 505400},
5
+ {"country": "Germany", "continent": "Europe","size": 357000},
6
+ {"country": "France", "continent": "Europe","size": 643800},
7
+ {"country": "India", "continent": "Asia","size": 3290000},
8
+ {"country": "Mexico", "continent": "America","size": 1970000},
9
+ {"country": "UK", "continent": "Europe","size": 243600},
10
+ {"country": "Russia", "continent": "Europe","size": 17100000},
11
+ {"country": "USA", "continent": "America","size": 9160000}
12
+ ]
package/index.html CHANGED
@@ -318,6 +318,11 @@
318
318
  style="background-image: url(tests/screenshots/bars.js/bars_querier.png)"></a>
319
319
  <h3>Bars chart</h3>
320
320
  </li>
321
+ <li>
322
+ <a href="examples/charts_querier/bars_querier/index_csv.html"
323
+ style="background-image: url(tests/screenshots/bars.js/bars_querier.png)"></a>
324
+ <h3>Bars chart (csv)</h3>
325
+ </li>
321
326
  <li>
322
327
  <a href="examples/charts_querier/bars_querier/bars_axis_name.html"
323
328
  style="background-image: url(tests/screenshots/bars.js/bars_axis_name.png)"></a>
@@ -402,6 +407,14 @@
402
407
  <h3>babia-barsmap with UI component.</h3>
403
408
  <p>with several datafiles</p>
404
409
  </li>
410
+ <li>
411
+ <a href="examples/ui/network/network.html" style="background-image: url(tests/screenshots/ui.js/ui_network.png)"></a>
412
+ <h3>babia-network with UI component (nodes and links from same json).</h3>
413
+ </li>
414
+ <li>
415
+ <a href="examples/ui/network/network_nodes_links.html" style="background-image: url(tests/screenshots/ui.js/ui_network_nodes_links.png)"></a>
416
+ <h3>babia-network with UI component (nodes and links from different jsons)</h3>
417
+ </li>
405
418
  <li>
406
419
  <a href="examples/ui/oculus/" style="background-image: url(tests/screenshots/ui.js/oculus.jpg)"></a>
407
420
  <h3>babia-babia with UI component.</h3>
@@ -459,9 +472,29 @@
459
472
  <a href="examples/selector_boats/index2.html"><h3>babia-boats with selector component (Up View)</h3></a>
460
473
  <a href="examples/selector_boats/jetuml.html"><h3>babia-boats with selector component and JetUML data</h3></a>
461
474
  <a href="examples/selector_boats/jetumltest.html"><h3>babia-boats with selector component and JetUML data (Front view)</h3></a>
462
- <a href="examples/multi_boats/index.html"><h3>babia-boats multiuser JetUML 2021</h3></a>
475
+
476
+ <a href="examples/multi_boats/only_queryjson.html">
477
+ <h3>Multiuser Time Evolution with Babia-Boats, queryjson and boats together 1.</h3>
478
+ <p>Entity containing babia-boats and babia-queryjson is shared. Evolution starts when new user joins.</p>
479
+ </a>
480
+ <a href="examples/multi_boats/only_queryjson2.html">
481
+ <h3>Multiuser Time Evolution with Babia-Boats, queryjson and boats together 2.</h3>
482
+ <p>Entity containing babia-boats and babia-queryjson is shared. Evolution starts when first user enters.</p>
483
+ </a>
484
+ <a href="examples/multi_boats/only_queryjson3.html">
485
+ <h3>Multiuser Time Evolution with Babia-Boats, queryjson and boats in different entities. </h3>
486
+ <p>Only babia-queryjson is shared. Evolution starts when first user enters.</p>
487
+ </a>
488
+ <a href="examples/multi_boats/queryjson_treebuilder.html">
489
+ <h3>Multiuser Time Evolution with Babia-Boats, queryjson, treebuilder and boats in different entities.</h3>
490
+ <p>Only babia-queryjson is shared. Evolution starts when first user enters.</p>
491
+ </a>
492
+
493
+
494
+ <a href="examples/multi_boats/index_multi_boats.html"><h3>babia-boats multiuser JetUML 2021</h3></a>
463
495
  <a href="examples/multi_boats/with_selector.html"><h3>babia-boats multiuser with selector component</h3></a>
464
496
  <a href="examples/multi_boats/jetuml.html"><h3>babia-boats multiuser with selector component and JetUML data</h3></a>
497
+ <a href="examples/multi_boats/jetuml_evolution_experiment.html"><h3>A Multiuser Room with babia-boats with selector component and JetUML data (INCLUDE NEW BABIA-CAMERA)</h3></a>
465
498
  </ul>
466
499
  <h2>Performance Examples</h2>
467
500
  <ul>
@@ -495,7 +528,7 @@
495
528
  <a href="examples/watcher/querier_watcher/index.html">
496
529
  <h3>Querier Watcher</h3>
497
530
  </a>
498
- <h2>Multiuser (Work in Progress)</h2>
531
+ <h2>Multiuser</h2>
499
532
  <a href="examples/multiuser/simple_examples.html">
500
533
  <h3>Multiuser simple demos</h3>
501
534
  </a>
@@ -505,7 +538,20 @@
505
538
  <a href="examples/multiuser/choose_avatar/index.html">
506
539
  <h3>Multiuser with avatars</h3>
507
540
  </a>
508
- <h2>NotiBuffer (Work in Progress)</h2>
541
+ <a href="examples/multi_bars/index.html">
542
+ <h3>Multiuser Time Evolution with Babia-Bars</h3>
543
+ </a>
544
+ <a href="examples/multi_bars/index1.html">
545
+ <h3>Multiuser Time Evolution with Babia-Bars, separate queryjson from bars</h3>
546
+ </a>
547
+ <a href="examples/multi_bars/index2.html">
548
+ <h3>Multiuser Time Evolution with Babia-Bars, queryjson, filter and bars together</h3>
549
+ </a>
550
+ <a href="examples/multi_bars/index3.html">
551
+ <h3>Multiuser Time Evolution with Babia-Bars, separate queryjson, filter and bars. Not sharing bars</h3>
552
+ </a>
553
+
554
+ <h2>NotiBuffer</h2>
509
555
  <a href="examples/async/index_noti_buffer.html">
510
556
  <h3>NotiBuffer with QueryJson and Babia-Bars</h3>
511
557
  </a>
@@ -513,6 +559,26 @@
513
559
  <h3>NotiBuffer with QueryJson, Filter and Babia-Bars</h3>
514
560
  </a>
515
561
 
562
+ <h2>Dashboards</h2>
563
+ <ul>
564
+ <li>
565
+ <a href="examples/dashboard/template.html"
566
+ style="background-image: url(tests/screenshots/other_snapshots.js/template.png)"></a>
567
+ <h3>Template</h3>
568
+ </li>
569
+ <li>
570
+ <a href="examples/dashboard/chaoss-pr.html"
571
+ style="background-image: url(tests/screenshots/other_snapshots.js/chaoss-pr.png)"></a>
572
+ <h3>Babia Dashboard - Github Pull Request Timing</h3>
573
+ <p>CHAOSS Bitergia Analytics</p>
574
+ </li>
575
+ <li>
576
+ <a href="examples/dashboard/chaoss-issues.html"
577
+ style="background-image: url(tests/screenshots/other_snapshots.js/chaoss-issues.png)"></a>
578
+ <h3>Babia Dashboard - Github Issues Timing</h3>
579
+ <p>CHAOSS Bitergia Analytics</p>
580
+ </li>
581
+ </ul>
516
582
 
517
583
  <style>
518
584
  .gitlab-corner-wrapper {
package/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  require('./components/queriers/babia-querygithub')
2
2
  require('./components/queriers/babia-queryjson')
3
+ require('./components/queriers/babia-querycsv')
3
4
  require('./components/queriers/babia-queryes')
4
5
  require('./components/others/babia-ui')
5
6
  require('./components/filters/babia-filter')
@@ -31,10 +32,14 @@ require('./components/others/babia-controls')
31
32
  require('./components/others/babia-navigator')
32
33
  require('./components/others/babia-slider')
33
34
  require('./components/others/babia-ui-link')
35
+ require('./components/others/babia-camera')
34
36
  require('./common/noti-buffer')
37
+ require('./components/geometries/babia-cyl')
38
+ require('./components/others/babia-range-selector')
35
39
 
36
40
  // Assets
37
41
  pauseButton = require('./components/others/models/pause_button.gltf')
38
42
  playButton = require('./components/others/models/play_button.gltf')
39
43
  skipButton = require('./components/others/models/skip_button.gltf')
40
- rewindButton = require('./components/others/models/rewind_button.gltf')
44
+ rewindButton = require('./components/others/models/rewind_button.gltf')
45
+ tooltip = require('./components/others/assets/tooltip.png')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aframe-babia-components",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "A data visualization set of components for A-Frame.",
5
5
  "main": "index.js",
6
6
  "unpkg": "dist/aframe-babia-components.min.js",
@@ -8,7 +8,7 @@
8
8
  "build": "npm run build:dev && npm run build:prod",
9
9
  "build:dev": "webpack --config webpack.dev.js",
10
10
  "build:prod": "webpack --config webpack.prod.js",
11
- "dev": "webpack-dev-server --open --config webpack.dev.js",
11
+ "dev": "webpack-dev-server --open --config webpack.devnossl.js",
12
12
  "dist": "npm run build",
13
13
  "serve": "npm run dev",
14
14
  "ssldev": "webpack-dev-server --open --config webpack.dev.js",
@@ -20,7 +20,8 @@
20
20
  "test:chrome": "cypress run --browser chrome"
21
21
  },
22
22
  "dependencies": {
23
- "networked-aframe": "^0.8.0"
23
+ "networked-aframe": "^0.8.0",
24
+ "papaparse": "^5.3.1"
24
25
  },
25
26
  "repository": {
26
27
  "type": "git",
package/tests/ui.js CHANGED
@@ -11,4 +11,11 @@ describe('Babia-UI component examples (screenshot)', () => {
11
11
  cy.screenshot('ui_' + example);
12
12
  });
13
13
  });
14
+ ['network', 'network_nodes_links'].forEach((example) => {
15
+ it(`Screenshot UI(${example})`, () => {
16
+ cy.visit('/examples/ui/network'+ example + '.html');
17
+ cy.wait(5000);
18
+ cy.screenshot('ui_' + example);
19
+ });
20
+ });
14
21
  });
package/webpack.common.js CHANGED
@@ -15,7 +15,7 @@ module.exports = {
15
15
  loader: "babel-loader"
16
16
  },
17
17
  {
18
- test: /\.(glb|gltf)$/,
18
+ test: /\.(glb|gltf|png)$/,
19
19
  use:
20
20
  [
21
21
  {
@@ -0,0 +1,16 @@
1
+ // Specific configuration for developers
2
+ // Runs a HTTPS server in port 8080, accesible
3
+ // only from localhost.
4
+
5
+ const path = require("path");
6
+ const merge = require("webpack-merge");
7
+ const common = require("./webpack.common");
8
+
9
+ module.exports = merge(common, {
10
+ mode: "development",
11
+ devtool: "inline-source-map",
12
+ devServer: {
13
+ publicPath: "/dist/",
14
+ contentBase: path.resolve(__dirname, ".")
15
+ }
16
+ });
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>
@@ -1,79 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="2a27151d-869b-44cb-9fcd-2929e6c04d9d" name="Default Changelist" comment="">
5
- <change beforePath="$PROJECT_DIR$/tools/generate_repository_data/utils/config/projects.json" beforeDir="false" afterPath="$PROJECT_DIR$/tools/generate_repository_data/utils/config/projects.json" afterDir="false" />
6
- </list>
7
- <option name="SHOW_DIALOG" value="false" />
8
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
9
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
10
- <option name="LAST_RESOLUTION" value="IGNORE" />
11
- </component>
12
- <component name="Git.Settings">
13
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
14
- </component>
15
- <component name="ProjectId" id="1oWSqgGuc8e2yOhxu6puhOStLzd" />
16
- <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
17
- <component name="ProjectViewState">
18
- <option name="hideEmptyMiddlePackages" value="true" />
19
- <option name="showLibraryContents" value="true" />
20
- </component>
21
- <component name="PropertiesComponent">
22
- <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
23
- <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
24
- <property name="last_opened_file_path" value="$PROJECT_DIR$/tools/generate_from_es" />
25
- <property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
26
- </component>
27
- <component name="RecentsManager">
28
- <key name="CopyFile.RECENT_KEYS">
29
- <recent name="$PROJECT_DIR$/tools/generate_from_es" />
30
- <recent name="$PROJECT_DIR$/tools/generate_city_data" />
31
- <recent name="$PROJECT_DIR$/tools/generate_repository_data/utils/config" />
32
- </key>
33
- </component>
34
- <component name="RunManager">
35
- <configuration name="generate_structure_codecityjs" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true">
36
- <module name="aframe-babia-components-gitlab" />
37
- <option name="INTERPRETER_OPTIONS" value="" />
38
- <option name="PARENT_ENVS" value="true" />
39
- <envs>
40
- <env name="PYTHONUNBUFFERED" value="1" />
41
- </envs>
42
- <option name="SDK_HOME" value="$USER_HOME$/venvs/babiaxrpythoncode/bin/python3" />
43
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tools/generate_city_data" />
44
- <option name="IS_MODULE_SDK" value="false" />
45
- <option name="ADD_CONTENT_ROOTS" value="true" />
46
- <option name="ADD_SOURCE_ROOTS" value="true" />
47
- <option name="SCRIPT_NAME" value="$PROJECT_DIR$/tools/generate_city_data/generate_structure_codecityjs.py" />
48
- <option name="PARAMETERS" value="" />
49
- <option name="SHOW_COMMAND_LINE" value="false" />
50
- <option name="EMULATE_TERMINAL" value="false" />
51
- <option name="MODULE_MODE" value="false" />
52
- <option name="REDIRECT_INPUT" value="false" />
53
- <option name="INPUT_FILE" value="" />
54
- <method v="2" />
55
- </configuration>
56
- </component>
57
- <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
58
- <component name="TaskManager">
59
- <task active="true" id="Default" summary="Default task">
60
- <changelist id="2a27151d-869b-44cb-9fcd-2929e6c04d9d" name="Default Changelist" comment="" />
61
- <created>1613401045809</created>
62
- <option name="number" value="Default" />
63
- <option name="presentableId" value="Default" />
64
- <updated>1613401045809</updated>
65
- </task>
66
- <servers />
67
- </component>
68
- <component name="XDebuggerManager">
69
- <breakpoint-manager>
70
- <breakpoints>
71
- <line-breakpoint enabled="true" suspend="THREAD" type="python-line">
72
- <url>file://$PROJECT_DIR$/tools/generate_from_es/get_list.py</url>
73
- <line>78</line>
74
- <option name="timeStamp" value="6" />
75
- </line-breakpoint>
76
- </breakpoints>
77
- </breakpoint-manager>
78
- </component>
79
- </project>