@hpcc-js/graph 3.7.5 → 3.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/graphviz-BkFKgQ-y.js.map +1 -0
- package/dist/index.js +26 -26
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +22 -22
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +12 -10
- package/src/common/layouts/dagre.ts +2 -2
- package/src/common/layouts/graphviz.ts +2 -2
- package/dist/assets/graphviz-BK7FEJlA.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/graph",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.7",
|
|
4
4
|
"description": "hpcc-js - Viz Graph",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.umd.cjs",
|
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
"clean": "rimraf --glob lib* types dist *.tsbuildinfo .turbo ./workers/dist ./workers/lib-es6 ./workers/types",
|
|
25
25
|
"bundle": "vite build",
|
|
26
26
|
"bundle-workers": "vite build -c ./workers/vite.config.ts",
|
|
27
|
-
"bundle-watch": "vite --
|
|
27
|
+
"bundle-watch": "vite build --watch",
|
|
28
|
+
"bundle-serve": "vite --port 5509",
|
|
28
29
|
"gen-types": "tsc --project tsconfig.json",
|
|
29
30
|
"gen-types-watch": "npm run gen-types -- --watch",
|
|
30
31
|
"build": "run-p gen-types bundle",
|
|
32
|
+
"watch": "run-p gen-types-watch bundle-watch",
|
|
31
33
|
"lint": "eslint ./src",
|
|
32
34
|
"lint-fix": "eslint --fix src/**/*.ts",
|
|
33
35
|
"docs": "typedoc --options tdoptions.json .",
|
|
@@ -38,18 +40,18 @@
|
|
|
38
40
|
"update-major": "npx --yes npm-check-updates -u"
|
|
39
41
|
},
|
|
40
42
|
"dependencies": {
|
|
41
|
-
"@hpcc-js/api": "^3.4.
|
|
42
|
-
"@hpcc-js/common": "^3.7.
|
|
43
|
-
"@hpcc-js/html": "^3.3.
|
|
44
|
-
"@hpcc-js/react": "^3.4.
|
|
45
|
-
"@hpcc-js/util": "^3.5.
|
|
43
|
+
"@hpcc-js/api": "^3.4.18",
|
|
44
|
+
"@hpcc-js/common": "^3.7.8",
|
|
45
|
+
"@hpcc-js/html": "^3.3.18",
|
|
46
|
+
"@hpcc-js/react": "^3.4.18",
|
|
47
|
+
"@hpcc-js/util": "^3.5.7"
|
|
46
48
|
},
|
|
47
49
|
"optionalPeerDependencies": {
|
|
48
50
|
"react": ">=17.0.0"
|
|
49
51
|
},
|
|
50
52
|
"devDependencies": {
|
|
51
|
-
"@hpcc-js/esbuild-plugins": "^1.8.
|
|
52
|
-
"@hpcc-js/wasm-graphviz": "1.21.
|
|
53
|
+
"@hpcc-js/esbuild-plugins": "^1.8.9",
|
|
54
|
+
"@hpcc-js/wasm-graphviz": "1.21.5",
|
|
53
55
|
"@types/d3-transition": "1.3.6",
|
|
54
56
|
"@types/dagre": "0.7.54",
|
|
55
57
|
"d3-force": "^1",
|
|
@@ -73,5 +75,5 @@
|
|
|
73
75
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
74
76
|
},
|
|
75
77
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
76
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "6695c9be7e44c9a4dd50e36fad2044b287685e2e"
|
|
77
79
|
}
|
|
@@ -113,8 +113,8 @@ export class Dagre extends Layout {
|
|
|
113
113
|
if (ep.points) {
|
|
114
114
|
const line = this.edgeLine(ep);
|
|
115
115
|
points = ep.points.map((p, idx) => {
|
|
116
|
-
let x
|
|
117
|
-
let y
|
|
116
|
+
let x: number;
|
|
117
|
+
let y: number;
|
|
118
118
|
if (idx === 0) {
|
|
119
119
|
x = this._graph.rproject(line.source.x);
|
|
120
120
|
y = this._graph.rproject(line.source.y);
|
|
@@ -104,8 +104,8 @@ export class Graphviz extends Layout {
|
|
|
104
104
|
if (ep.points) {
|
|
105
105
|
const line = this.edgeLine(ep);
|
|
106
106
|
points = ep.points.map((p, idx) => {
|
|
107
|
-
let x
|
|
108
|
-
let y
|
|
107
|
+
let x: number;
|
|
108
|
+
let y: number;
|
|
109
109
|
if (idx === 0) {
|
|
110
110
|
x = this._graph.rproject(line.source.x);
|
|
111
111
|
y = this._graph.rproject(line.source.y);
|