From e8031856075ea83aa8a2ed01393f29b8d4bfb00f Mon Sep 17 00:00:00 2001 From: iain maitland Date: Wed, 7 Feb 2024 10:36:57 -0500 Subject: [PATCH] Update graph.js --- js/graph.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/graph.js b/js/graph.js index 3ca8372..6f2ff4c 100644 --- a/js/graph.js +++ b/js/graph.js @@ -63,12 +63,6 @@ const Graph = ForceGraph()(document.getElementById("graph")) d.source.tag; }) .onNodeClick(async (node) => { - // Center/zoom on clicked node - Graph.centerAt(node.x, node.y, 1000); - Graph.zoom(8, 2000); - // wait for complete - await delay(1500); - // Store last clicked in local storage if (node.id == "day") { document.getElementsByClassName("logo")[0].style.color = "black";