From a1b08aa30057f3b31d779f92a3bff41461b11761 Mon Sep 17 00:00:00 2001 From: Keang Date: Sat, 11 Dec 2021 01:17:59 +1100 Subject: [PATCH] fix: Same edge function --- _includes/notes_graph.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/notes_graph.html b/_includes/notes_graph.html index 7dbf3e6..e4a2e49 100644 --- a/_includes/notes_graph.html +++ b/_includes/notes_graph.html @@ -151,7 +151,7 @@ } for (const edge of next) { - if (!set.has(`${edge.source}-${edge.target}`)) { + if (!set.has(`${edge.source.id}-${edge.target.id}`)) { return false; } }