diff --git a/.idea/UserflowPredictorSystem.iml b/.idea/UserflowPredictorSystem.iml
new file mode 100644
index 0000000..24643cc
--- /dev/null
+++ b/.idea/UserflowPredictorSystem.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..28a804d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..e573b8a
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..a2f005d
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,458 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CanvasRenderer
+ new Data
+ stroke
+ window
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1554914345509
+
+
+ 1554914345509
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DataGatherer/package-lock.json b/DataGatherer/package-lock.json
index b6b15cc..586ab90 100644
--- a/DataGatherer/package-lock.json
+++ b/DataGatherer/package-lock.json
@@ -4,6 +4,27 @@
"lockfileVersion": 1,
"requires": true,
"dependencies": {
+ "@types/html2canvas": {
+ "version": "0.0.35",
+ "resolved": "https://registry.npmjs.org/@types/html2canvas/-/html2canvas-0.0.35.tgz",
+ "integrity": "sha512-28p0/yNwXnvGWQK3rEIBj7NHNQoBXuX0ymcCNjSYR/i0Vk9z+xrKCQZPvsrEmurx9vs4B/eHGbOaJY/a9CXdSg==",
+ "requires": {
+ "@types/jquery": "*"
+ }
+ },
+ "@types/jquery": {
+ "version": "3.3.29",
+ "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.3.29.tgz",
+ "integrity": "sha512-FhJvBninYD36v3k6c+bVk1DSZwh7B5Dpb/Pyk3HKVsiohn0nhbefZZ+3JXbWQhFyt0MxSl2jRDdGQPHeOHFXrQ==",
+ "requires": {
+ "@types/sizzle": "*"
+ }
+ },
+ "@types/sizzle": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.2.tgz",
+ "integrity": "sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg=="
+ },
"axios": {
"version": "0.18.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz",
@@ -13,6 +34,19 @@
"is-buffer": "^1.1.5"
}
},
+ "base64-arraybuffer": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz",
+ "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg="
+ },
+ "css-line-break": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-1.0.1.tgz",
+ "integrity": "sha1-GfIGOjPpX7KDG4ZEbAuAwYivRQo=",
+ "requires": {
+ "base64-arraybuffer": "^0.1.5"
+ }
+ },
"eslint-scope": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz",
@@ -67,6 +101,14 @@
}
}
},
+ "html2canvas": {
+ "version": "1.0.0-rc.1",
+ "resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.0.0-rc.1.tgz",
+ "integrity": "sha512-ImguLJ3goQnY0P6z7n6VqBZ+ViS77Hv6J7iYXBxvdb3NWz3s8/mqr4/Lj0OlMUb3ID+qCQ1BPLIBuRMqhgqvYg==",
+ "requires": {
+ "css-line-break": "1.0.1"
+ }
+ },
"is-buffer": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
diff --git a/DataGatherer/package.json b/DataGatherer/package.json
index 220f332..f06294b 100644
--- a/DataGatherer/package.json
+++ b/DataGatherer/package.json
@@ -4,7 +4,9 @@
"description": "",
"main": "main.js",
"dependencies": {
+ "@types/html2canvas": "0.0.35",
"axios": "^0.18.0",
+ "html2canvas": "^1.0.0-rc.1",
"rxios": "^1.1.2",
"rxjs": "^6.4.0",
"rxjs-compat": "^6.4.0"
diff --git a/DataGatherer/src/data/Data.ts b/DataGatherer/src/data/Data.ts
index 87e9c1e..a0b4287 100644
--- a/DataGatherer/src/data/Data.ts
+++ b/DataGatherer/src/data/Data.ts
@@ -2,10 +2,31 @@ export class Data {
private name: string;
private data: any;
private timestamp: number;
+ private size: {
+ width: number;
+ height: number;
+ };
- constructor(name: string, data: any) {
+ constructor(name: string, data: any, size: any, timestamp?: number) {
this.name = name;
this.data = data;
- this.timestamp = Date.now();
+ this.timestamp = timestamp ? timestamp : Date.now();
+ this.size = size;
+ }
+
+ public getName() {
+ return this.name;
+ }
+
+ public getData() {
+ return this.data;
+ }
+
+ public getTimestamp() {
+ return this.timestamp;
+ }
+
+ public getSize() {
+ return this.size;
}
}
diff --git a/DataGatherer/src/index.html b/DataGatherer/src/index.html
index 6cf4790..8e6e9aa 100644
--- a/DataGatherer/src/index.html
+++ b/DataGatherer/src/index.html
@@ -1,8 +1,34 @@
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+