From 13ca9bc3cf4eacc6b282858617cb40a5ae297349 Mon Sep 17 00:00:00 2001 From: Scobiform Date: Sat, 20 Apr 2024 21:47:02 +0200 Subject: [PATCH] Graph component #1 --- templates/graph.html | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/templates/graph.html b/templates/graph.html index 4977563..efd786a 100644 --- a/templates/graph.html +++ b/templates/graph.html @@ -372,16 +372,6 @@ } - // Prepare the filtered data for nodes and links. - const filteredData = { - nodes: graphData.nodes.filter(node => visibleNodes.has(node.id)), - links: filteredLinks - }; - - // Update the graph with the filtered data. - graph.graphData(filteredData); -} - // Function to update graph values based on the slider document.addEventListener('DOMContentLoaded', function() {