From 216f704232875bd2a866c7b9fd2d8e51745e00ee Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Fri, 28 Jan 2022 15:09:41 -0500 Subject: [PATCH] feat: comparison changer --- lib/comparisonView.js | 11 +++++++---- lib/comparisonsChanger.js | 3 ++- lib/findPaths.js | 2 +- lib/labeledGraph.js | 6 ++++++ 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/lib/comparisonView.js b/lib/comparisonView.js index 822f0ff..f523cb0 100644 --- a/lib/comparisonView.js +++ b/lib/comparisonView.js @@ -373,17 +373,19 @@ export default function ComparisonView({ listOfElementsForView }) { {/* Results section */} -
+
{/* Graph */} +
+
{/* Comparison table */} -
+
changeShowLoadComparisons(!showLoadComparisons)}> - Show/edit comparisons + Load comparisons
{/* Button: Change dataset */} @@ -451,10 +453,11 @@ export default function ComparisonView({ listOfElementsForView }) {
-
+

Load comparisons in the same style as in "Show comparisons".

+

These will override your current comparisons.