@ts-graphviz/adapter
Advanced tools
Comparing version 2.0.5-next-6bb5ab18682daa1410de4a35edc22316487989af to 2.0.5-next-b3a3323c70e72c87b7728684a5862b5d6e54fbb9
# @ts-graphviz/adapter | ||
## 2.0.5-next-6bb5ab18682daa1410de4a35edc22316487989af | ||
## 2.0.5-next-b3a3323c70e72c87b7728684a5862b5d6e54fbb9 | ||
@@ -9,5 +9,7 @@ ### Patch Changes | ||
- Updated dependencies [[`f48ae4a`](https://github.com/ts-graphviz/ts-graphviz/commit/f48ae4a36fde430cf4a4769189243acd76560946)]: | ||
- @ts-graphviz/common@2.1.4-next-6bb5ab18682daa1410de4a35edc22316487989af | ||
- [#1214](https://github.com/ts-graphviz/ts-graphviz/pull/1214) [`b3a3323`](https://github.com/ts-graphviz/ts-graphviz/commit/b3a3323c70e72c87b7728684a5862b5d6e54fbb9) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps-dev): bump vite from 5.2.8 to 5.4.8 | ||
- Updated dependencies [[`f48ae4a`](https://github.com/ts-graphviz/ts-graphviz/commit/f48ae4a36fde430cf4a4769189243acd76560946), [`b3a3323`](https://github.com/ts-graphviz/ts-graphviz/commit/b3a3323c70e72c87b7728684a5862b5d6e54fbb9)]: | ||
- @ts-graphviz/common@2.1.4-next-b3a3323c70e72c87b7728684a5862b5d6e54fbb9 | ||
## 2.0.4 | ||
@@ -14,0 +16,0 @@ |
@@ -19,4 +19,3 @@ function escapeValue(value) { | ||
} = options; | ||
if (suppressWarnings) | ||
yield "-q"; | ||
if (suppressWarnings) yield "-q"; | ||
yield `-T${format}`; | ||
@@ -38,9 +37,5 @@ if (attributes.graph) { | ||
} | ||
if (typeof scale === "number" && !Number.isNaN(scale)) | ||
yield `-s${scale}`; | ||
if (Array.isArray(library)) | ||
for (const lib of library) | ||
yield `-l${lib}`; | ||
if (y === true) | ||
yield "-y"; | ||
if (typeof scale === "number" && !Number.isNaN(scale)) yield `-s${scale}`; | ||
if (Array.isArray(library)) for (const lib of library) yield `-l${lib}`; | ||
if (y === true) yield "-y"; | ||
if (typeof options.layout === "string") { | ||
@@ -51,6 +46,4 @@ yield `-K${options.layout}`; | ||
const { reduce, noop } = options; | ||
if (reduce === true) | ||
yield "-x"; | ||
if (typeof noop === "number") | ||
yield `-n${noop}`; | ||
if (reduce === true) yield "-x"; | ||
if (typeof noop === "number") yield `-n${noop}`; | ||
break; | ||
@@ -68,10 +61,7 @@ } | ||
yield ["-L", grid ? "" : "g", oldAttractive ? "O" : ""].join(""); | ||
if (typeof iterations === "number") | ||
yield `-Ln${iterations}`; | ||
if (typeof unscaledFactor === "number") | ||
yield `-LU${unscaledFactor}`; | ||
if (typeof iterations === "number") yield `-Ln${iterations}`; | ||
if (typeof unscaledFactor === "number") yield `-LU${unscaledFactor}`; | ||
if (typeof overlapExpansionFactor === "number") | ||
yield `-LC${overlapExpansionFactor}`; | ||
if (typeof temperature === "number") | ||
yield `-LT${temperature}`; | ||
if (typeof temperature === "number") yield `-LT${temperature}`; | ||
break; | ||
@@ -78,0 +68,0 @@ } |
{ | ||
"name": "@ts-graphviz/adapter", | ||
"version": "2.0.5-next-6bb5ab18682daa1410de4a35edc22316487989af", | ||
"version": "2.0.5-next-b3a3323c70e72c87b7728684a5862b5d6e54fbb9", | ||
"description": "Graphviz Runtime adapters for Cross Platform", | ||
@@ -54,3 +54,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@ts-graphviz/common": "^2.1.4-next-6bb5ab18682daa1410de4a35edc22316487989af" | ||
"@ts-graphviz/common": "^2.1.4-next-b3a3323c70e72c87b7728684a5862b5d6e54fbb9" | ||
}, | ||
@@ -60,3 +60,3 @@ "devDependencies": { | ||
"typescript": "^5.4.5", | ||
"vite": "^5.2.8", | ||
"vite": "^5.4.8", | ||
"vite-plugin-dts": "^4.2.1" | ||
@@ -63,0 +63,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
30059
495