diff --git a/lib/labeledGraph.js b/lib/labeledGraph.js index a0b9aea..ec42813 100644 --- a/lib/labeledGraph.js +++ b/lib/labeledGraph.js @@ -19,9 +19,8 @@ function drawGraphInner({ nodes, links }) { console.log(positionById) // Calculate the dimensions - let margin = { top: 0, right: 30, bottom: 20, left: 30 }; - let width = 900 - margin.left - margin.right; - + // let margin = { top: 0, right: 30, bottom: 20, left: 30 }; + // let width = 900 - margin.left - margin.right; let initialWindowWidth = window.innerWidth let margin = { top: 0, right: 10, bottom: 30, left: 10 };