Skip to content

Commit

Permalink
Graph component #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobiform committed Apr 20, 2024
1 parent 65af7ba commit 13ca9bc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions templates/graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -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() {

Expand Down

0 comments on commit 13ca9bc

Please sign in to comment.