fix filters with "N" as output
This commit is contained in:
parent
b54aa4e82b
commit
5b4ce1fe26
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue