From 3504ca19e28455d7b2ac47d9c96753f0b0122bf0 Mon Sep 17 00:00:00 2001 From: Myllaume Date: Fri, 20 Sep 2024 08:41:03 +0200 Subject: [PATCH] fix: node link --- core/frontend/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/graph.js b/core/frontend/graph.js index 2ae882f..6d2d84c 100644 --- a/core/frontend/graph.js +++ b/core/frontend/graph.js @@ -210,7 +210,7 @@ elts.nodes = svgSub elts.nodes.each(function (d) { const node = d3.select(this); - const link = node.append('a').attr('href', (d) => '#' + d.id); + const link = node.append('a').attr('href', (d) => '#' + d.key); const getFill = (fill) => { if (imageFileValidExtnames.has(fill.split('.').at(-1))) {