From 5b4ce1fe266c64ab3a489f04352a08d8c6a9bc35 Mon Sep 17 00:00:00 2001 From: Sam Lavigne Date: Fri, 1 Sep 2023 13:49:43 -0400 Subject: [PATCH] fix filters with "N" as output --- src/stores.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores.js b/src/stores.js index ece27d2..76335b7 100644 --- a/src/stores.js +++ b/src/stores.js @@ -55,7 +55,7 @@ export const previewCommand = derived([edges, nodes], ([$edges, $nodes]) => { // create edge labels for each filter function traverseEdges(edg, type) { - const outEdges = $edges.filter((e) => e.source === edg.target && e.sourceHandle.includes(type)); + const outEdges = $edges.filter((e) => e.source === edg.target && (e.sourceHandle.includes(type) || e.sourceHandle.includes("n"))); let label;