From 300f6745d20e647528b4983256cbfae46daad2ac Mon Sep 17 00:00:00 2001 From: zPlus Date: Sat, 27 Aug 2022 16:25:12 +0200 Subject: [PATCH] Reduce focus zoom. Reduce the default zoom level when a node is selected by clicking the search results. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index d5afdf8..6740e5a 100644 --- a/index.html +++ b/index.html @@ -129,7 +129,7 @@ li.addEventListener("click", function(event) { network.selectNodes([ result.id ]); network.focus(result.id, { - scale: 1.5, + scale: 1.2, animation: false }); });