From ac2ab4e72f0ee14b7b590e9c550c712cb1e1cdb9 Mon Sep 17 00:00:00 2001 From: TripZz Date: Mon, 26 Feb 2024 09:29:53 +0100 Subject: [PATCH] NN-473 Update single slider to duo slider --- frontend/package-lock.json | 6 + frontend/package.json | 1 + .../toolbar/modules/SelectionList.vue | 276 ++++++++++++------ frontend/src/slider.css | 276 ++++++++++++++++++ 4 files changed, 463 insertions(+), 96 deletions(-) create mode 100644 frontend/src/slider.css diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 268ff517..cc44b258 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -19,6 +19,7 @@ "jquery": "^3.6.3", "mitt": "^3.0.0", "ml-hclust": "^3.1.0", + "nouislider": "^15.7.1", "random-color-rgb": "^1.1.1", "sigma": "^1.2.2", "smallest-enclosing-circle": "^1.0.2", @@ -8527,6 +8528,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/nouislider": { + "version": "15.7.1", + "resolved": "https://registry.npmjs.org/nouislider/-/nouislider-15.7.1.tgz", + "integrity": "sha512-5N7C1ru/i8y3dg9+Z6ilj6+m1EfabvOoaRa7ztpxBSKKRZso4vA52DGSbBJjw5XLtFr/LZ9SgGAXqyVtlVHO5w==" + }, "node_modules/npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-2.0.2.tgz", diff --git a/frontend/package.json b/frontend/package.json index 3547aca8..c5251206 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -19,6 +19,7 @@ "jquery": "^3.6.3", "mitt": "^3.0.0", "ml-hclust": "^3.1.0", + "nouislider": "^15.7.1", "random-color-rgb": "^1.1.1", "sigma": "^1.2.2", "smallest-enclosing-circle": "^1.0.2", diff --git a/frontend/src/components/toolbar/modules/SelectionList.vue b/frontend/src/components/toolbar/modules/SelectionList.vue index c29f11e7..d20b502d 100644 --- a/frontend/src/components/toolbar/modules/SelectionList.vue +++ b/frontend/src/components/toolbar/modules/SelectionList.vue @@ -4,38 +4,40 @@
degree value
betweenness centrality value
@@ -49,31 +51,32 @@ v-on:change="searchSubset()" v-on:input="valueChanged('padj')" /> - + /> -->
page rank value
+ + -
@@ -85,18 +88,21 @@
{{ entry }}
+ + -
@@ -113,6 +119,8 @@