From a9d2e341eced2d062b39ed832b2ecdbd7526aec0 Mon Sep 17 00:00:00 2001 From: Chris Campbell Date: Mon, 25 Mar 2024 13:00:25 -0700 Subject: [PATCH] fix: correct handling of the case where comparison scenario is not valid for one side (#451) Fixes #450 --- examples/sample-check-bundle/src/graphs.ts | 9 +++++++ .../src/comparisons/comparisons.yaml | 19 +++++++++++++++ .../src/components/graphs/context-graph-vm.ts | 16 +++++++++++-- .../components/graphs/context-graph.svelte | 24 ++++++++++++------- 4 files changed, 57 insertions(+), 11 deletions(-) diff --git a/examples/sample-check-bundle/src/graphs.ts b/examples/sample-check-bundle/src/graphs.ts index 33ed0dcc..efa3d908 100644 --- a/examples/sample-check-bundle/src/graphs.ts +++ b/examples/sample-check-bundle/src/graphs.ts @@ -148,6 +148,15 @@ export function getGraphSpecs(modelVersion: number, outputVars: Map @@ -122,8 +127,9 @@ $graph-height: 20rem min-height: $graph-height align-items: center justify-content: center - background-color: #555 color: #aaa + &.not-included + background-color: #555 .link-container display: flex