Skip to content

Commit

Permalink
#1 removed debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
Scobiform committed Apr 17, 2024
1 parent 325132e commit 27af429
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions templates/graph.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

<p>Nodes: <span id="nodeCount"></span></p>
<p>Links: <span id="linkCount"></span></p>
<div id="graph"></div>
<script>

Expand Down Expand Up @@ -41,10 +38,6 @@
Graph.d3Force('charge', d3.forceManyBody().strength(-120));
Graph.d3Force('link', d3.forceLink().distance(140));

// Display the counts
document.getElementById('nodeCount').textContent = graphData.nodes.length;
document.getElementById('linkCount').textContent = graphData.links.length;

elementResizeDetectorMaker().listenTo(
document.getElementById('graph'),
el => Graph.width(el.offsetWidth)
Expand Down

0 comments on commit 27af429

Please sign in to comment.