From 0eeccfaba923961fdcf4cc2c215bccbd1fce09a3 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Fri, 10 Nov 2023 10:13:26 +0100 Subject: [PATCH] changed: select current note in network --- main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.js b/main.js index 480641d..a7d271b 100644 --- a/main.js +++ b/main.js @@ -681,6 +681,10 @@ function shownotelinks() toggleeditor(false); loadnote(nodes.find(n => n.id == event.nodes[0]).label); }); + graph.setSelection( + { + nodes : [id(currentnote)] + }); } else {