elk web-worker

This commit is contained in:
Sidharth Vinod
2023-02-16 14:21:33 +05:30
parent 0db2657b7b
commit 83797eef38
3 changed files with 10 additions and 2 deletions

View File

@@ -66,7 +66,8 @@
"non-layered-tidy-tree-layout": "^2.0.2", "non-layered-tidy-tree-layout": "^2.0.2",
"stylis": "^4.1.2", "stylis": "^4.1.2",
"ts-dedent": "^2.2.0", "ts-dedent": "^2.2.0",
"uuid": "^9.0.0" "uuid": "^9.0.0",
"web-worker": "^1.2.0"
}, },
"devDependencies": { "devDependencies": {
"@types/cytoscape": "^3.19.9", "@types/cytoscape": "^3.19.9",

View File

@@ -9,7 +9,7 @@ import { log } from '../../../logger';
import { setupGraphViewbox } from '../../../setupGraphViewbox'; import { setupGraphViewbox } from '../../../setupGraphViewbox';
import common, { evaluate } from '../../common/common'; import common, { evaluate } from '../../common/common';
import { interpolateToCurve, getStylesFromArray } from '../../../utils'; import { interpolateToCurve, getStylesFromArray } from '../../../utils';
import ELK from 'elkjs'; import ELK from 'elkjs/lib/elk.bundled.js';
let elk; let elk;

7
pnpm-lock.yaml generated
View File

@@ -214,6 +214,9 @@ importers:
uuid: uuid:
specifier: ^9.0.0 specifier: ^9.0.0
version: 9.0.0 version: 9.0.0
web-worker:
specifier: ^1.2.0
version: 1.2.0
devDependencies: devDependencies:
'@types/cytoscape': '@types/cytoscape':
specifier: ^3.19.9 specifier: ^3.19.9
@@ -12435,6 +12438,10 @@ packages:
minimalistic-assert: 1.0.1 minimalistic-assert: 1.0.1
dev: true dev: true
/web-worker/1.2.0:
resolution: {integrity: sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA==}
dev: false
/webdriver/7.16.11: /webdriver/7.16.11:
resolution: {integrity: sha512-6nBOXae4xuBH4Nqvi/zvtwjnxSLTONBpxOiRJtQ68CYTYv5+w3m8CsaWy3HbK/0XXa++NYl62bDNn70OGEKb+Q==} resolution: {integrity: sha512-6nBOXae4xuBH4Nqvi/zvtwjnxSLTONBpxOiRJtQ68CYTYv5+w3m8CsaWy3HbK/0XXa++NYl62bDNn70OGEKb+Q==}
engines: {node: '>=12.0.0'} engines: {node: '>=12.0.0'}