@prefecthq/graphs 2.1.6 → 2.1.8
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/{runGraph.worker-7c33e3ee.js.map → runGraph.worker-sd_Hkh50.js.map} +1 -1
- package/dist/graphs.mjs +5016 -5004
- package/dist/graphs.mjs.map +1 -1
- package/dist/graphs.umd.js +63 -63
- package/dist/graphs.umd.js.map +1 -1
- package/dist/types/src/consts.d.ts +1 -0
- package/dist/types/src/factories/animation.d.ts +1 -0
- package/dist/types/src/objects/cache.d.ts +2 -2
- package/dist/types/src/objects/culling.d.ts +1 -0
- package/dist/types/src/objects/events.d.ts +1 -0
- package/dist/types/src/utilities/getInitialHorizontalScaleMultiplier.d.ts +2 -2
- package/package.json +10 -10
|
@@ -5,6 +5,7 @@ export declare const DEFAULT_TIME_COLUMN_SPAN_SECONDS = 1;
|
|
|
5
5
|
export declare const DEFAULT_TIME_COLUMN_SIZE_PIXELS = 20;
|
|
6
6
|
export declare const DEFAULT_LINEAR_COLUMN_SIZE_PIXELS = 200;
|
|
7
7
|
export declare const DEFAULT_LABEL_CULLING_THRESHOLD = 0.2;
|
|
8
|
+
export declare const DEFAULT_TOGGLE_CULLING_THRESHOLD = 0.2;
|
|
8
9
|
export declare const DEFAULT_EDGE_CULLING_THRESHOLD = 0.1;
|
|
9
10
|
export declare const DEFAULT_TEXTURE_RESOLUTION = 10;
|
|
10
11
|
export declare const DEFAULT_EDGE_POINTS = 20;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Action
|
|
1
|
+
import { Action } from '@prefecthq/vue-compositions';
|
|
2
2
|
export declare function startCache(): void;
|
|
3
3
|
export declare function stopCache(): void;
|
|
4
|
-
export declare function cache<T extends Action>(action: T, parameters:
|
|
4
|
+
export declare function cache<T extends Action>(action: T, parameters: Parameters<T>): Promise<ReturnType<T>>;
|
|
@@ -7,3 +7,4 @@ export declare function uncull(): void;
|
|
|
7
7
|
export declare function waitForCull(): Promise<Cull>;
|
|
8
8
|
export declare function waitForEdgeCull(): Promise<VisibilityCull>;
|
|
9
9
|
export declare function waitForLabelCull(): Promise<VisibilityCull>;
|
|
10
|
+
export declare function waitForToggleCull(): Promise<VisibilityCull>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RunGraphData } from '../models/RunGraph';
|
|
2
|
-
export declare function getInitialHorizontalScaleMultiplier({ start_time, end_time }: RunGraphData): number;
|
|
1
|
+
import { RequiredGraphConfig, RunGraphData } from '../models/RunGraph';
|
|
2
|
+
export declare function getInitialHorizontalScaleMultiplier({ start_time, end_time, nodes }: RunGraphData, config: RequiredGraphConfig, aspectRatio: number): number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefecthq/graphs",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.8",
|
|
5
5
|
"description": "Large scale graphs designed for Prefect",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"serve": "vite --host --mode=demo",
|
|
@@ -38,21 +38,21 @@
|
|
|
38
38
|
"homepage": "https://github.com/PrefectHQ/graphs#readme",
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@prefecthq/eslint-config": "1.0.31",
|
|
41
|
-
"@types/d3": "7.4.
|
|
41
|
+
"@types/d3": "7.4.3",
|
|
42
42
|
"@types/fontfaceobserver": "^2.1.2",
|
|
43
|
-
"@types/lodash.isequal": "4.5.
|
|
44
|
-
"@types/lodash.merge": "4.6.
|
|
43
|
+
"@types/lodash.isequal": "4.5.8",
|
|
44
|
+
"@types/lodash.merge": "4.6.9",
|
|
45
45
|
"@types/node": "^20.1.7",
|
|
46
|
-
"@vitejs/plugin-vue": "4.
|
|
46
|
+
"@vitejs/plugin-vue": "4.5.1",
|
|
47
47
|
"auto-changelog": "^2.4.0",
|
|
48
48
|
"autoprefixer": "10.4.16",
|
|
49
|
-
"eslint": "8.
|
|
50
|
-
"postcss": "8.4.
|
|
49
|
+
"eslint": "8.55.0",
|
|
50
|
+
"postcss": "8.4.32",
|
|
51
51
|
"tailwindcss": "3.3.5",
|
|
52
52
|
"tsc-alias": "1.8.8",
|
|
53
|
-
"typescript": "5.
|
|
54
|
-
"vite": "
|
|
55
|
-
"vite-svg-loader": "^
|
|
53
|
+
"typescript": "5.3.2",
|
|
54
|
+
"vite": "5.0.5",
|
|
55
|
+
"vite-svg-loader": "^5.1.0",
|
|
56
56
|
"vue-tsc": "1.8.22"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|