fix: double definition bug
This commit is contained in:
parent
216f704232
commit
f47cf4ca69
|
@ -19,9 +19,8 @@ function drawGraphInner({ nodes, links }) {
|
||||||
console.log(positionById)
|
console.log(positionById)
|
||||||
|
|
||||||
// Calculate the dimensions
|
// Calculate the dimensions
|
||||||
let margin = { top: 0, right: 30, bottom: 20, left: 30 };
|
// let margin = { top: 0, right: 30, bottom: 20, left: 30 };
|
||||||
let width = 900 - margin.left - margin.right;
|
// let width = 900 - margin.left - margin.right;
|
||||||
|
|
||||||
|
|
||||||
let initialWindowWidth = window.innerWidth
|
let initialWindowWidth = window.innerWidth
|
||||||
let margin = { top: 0, right: 10, bottom: 30, left: 10 };
|
let margin = { top: 0, right: 10, bottom: 30, left: 10 };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user