nodelayout
Advanced tools
Comparing version 1.3.9 to 1.5.0
{ | ||
"name": "nodelayout", | ||
"version": "1.3.9", | ||
"version": "1.5.0", | ||
"description": "For node Layout.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -270,3 +270,3 @@ import * as d3 from "d3"; | ||
function init(params = {}) { | ||
const wrap = d3.select(`#${params.id}`).attr("height", svgHeight); | ||
const wrap = d3.select(`#${params.id}`).attr("height", svgHeight).html(""); | ||
const queryWrap = document.querySelector(`#${params.id}`) | ||
@@ -343,2 +343,3 @@ leftSize = queryWrap.offsetLeft | ||
if (params.lines) { | ||
connectData = [] | ||
params.lines.forEach((item, index) => { | ||
@@ -345,0 +346,0 @@ const startIndex = item.startIndex |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
137255
572