@prefecthq/graphs 2.1.8 → 2.2.0

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.
Files changed (35) hide show
  1. package/README.md +0 -2
  2. package/dist/graphs.mjs +7428 -6838
  3. package/dist/graphs.mjs.map +1 -1
  4. package/dist/graphs.umd.js +78 -78
  5. package/dist/graphs.umd.js.map +1 -1
  6. package/dist/types/src/components/RunGraph.vue.d.ts +4 -4
  7. package/dist/types/src/consts.d.ts +7 -0
  8. package/dist/types/src/factories/artifact.d.ts +14 -0
  9. package/dist/types/src/factories/artifactBar.d.ts +11 -0
  10. package/dist/types/src/factories/artifactCluster.d.ts +13 -0
  11. package/dist/types/src/factories/artifactNode.d.ts +15 -0
  12. package/dist/types/src/factories/flowRunArtifact.d.ts +17 -0
  13. package/dist/types/src/factories/flowRunArtifacts.d.ts +4 -0
  14. package/dist/types/src/factories/flowRunState.d.ts +11 -0
  15. package/dist/types/src/factories/flowRunStates.d.ts +6 -0
  16. package/dist/types/src/factories/icon.d.ts +10 -0
  17. package/dist/types/src/factories/label.d.ts +5 -1
  18. package/dist/types/src/factories/node.d.ts +2 -1
  19. package/dist/types/src/factories/selectedBorder.d.ts +11 -0
  20. package/dist/types/src/models/RunGraph.d.ts +28 -4
  21. package/dist/types/src/models/artifact.d.ts +14 -0
  22. package/dist/types/src/models/icon.d.ts +2 -0
  23. package/dist/types/src/models/index.d.ts +1 -0
  24. package/dist/types/src/models/layout.d.ts +2 -1
  25. package/dist/types/src/models/selection.d.ts +14 -2
  26. package/dist/types/src/models/states.d.ts +5 -0
  27. package/dist/types/src/objects/culling.d.ts +1 -0
  28. package/dist/types/src/objects/events.d.ts +4 -2
  29. package/dist/types/src/objects/flowRunArtifacts.d.ts +2 -0
  30. package/dist/types/src/objects/flowRunStates.d.ts +2 -0
  31. package/dist/types/src/objects/selection.d.ts +5 -4
  32. package/dist/types/src/objects/settings.d.ts +3 -1
  33. package/dist/types/src/textures/icon.d.ts +3 -0
  34. package/dist/types/src/textures/icons/index.d.ts +4 -0
  35. package/package.json +15 -13
@@ -1,5 +1,5 @@
1
1
  import { RunGraphProps } from '../models/RunGraph';
2
- import { NodeSelection } from '../models/selection';
2
+ import { GraphItemSelection } from '../models/selection';
3
3
  import { ViewportDateRange } from '../models/viewport';
4
4
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RunGraphProps>, {
5
5
  fullscreen: null;
@@ -7,16 +7,16 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
7
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:viewport": (value: ViewportDateRange) => void;
9
9
  "update:fullscreen": (value: boolean) => void;
10
- "update:selected": (value: NodeSelection | null) => void;
10
+ "update:selected": (value: GraphItemSelection | null) => void;
11
11
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RunGraphProps>, {
12
12
  fullscreen: null;
13
13
  selected: null;
14
14
  }>>> & {
15
15
  "onUpdate:viewport"?: ((value: ViewportDateRange) => any) | undefined;
16
16
  "onUpdate:fullscreen"?: ((value: boolean) => any) | undefined;
17
- "onUpdate:selected"?: ((value: NodeSelection | null) => any) | undefined;
17
+ "onUpdate:selected"?: ((value: GraphItemSelection | null) => any) | undefined;
18
18
  }, {
19
- selected: NodeSelection | null;
19
+ selected: GraphItemSelection | null;
20
20
  fullscreen: boolean | null;
21
21
  }, {}>;
22
22
  export default _default;
@@ -5,12 +5,19 @@ 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_ICON_CULLING_THRESHOLD = 0.2;
8
9
  export declare const DEFAULT_TOGGLE_CULLING_THRESHOLD = 0.2;
9
10
  export declare const DEFAULT_EDGE_CULLING_THRESHOLD = 0.1;
10
11
  export declare const DEFAULT_TEXTURE_RESOLUTION = 10;
12
+ export declare const DEFAULT_TEXT_RESOLUTION = 4;
11
13
  export declare const DEFAULT_EDGE_POINTS = 20;
12
14
  export declare const DEFAULT_EDGE_MINIMUM_BEZIER = 64;
13
15
  export declare const DEFAULT_HORIZONTAL_SCALE_MULTIPLIER = 0.25;
14
16
  export declare const DEFAULT_HORIZONTAL_SCALE = 1;
15
17
  export declare const DEFAULT_GUIDES_COUNT = 30;
16
18
  export declare const DEFAULT_GUIDES_MIN_GAP = 260;
19
+ export declare const DEFAULT_ROOT_ARTIFACT_BOTTOM_OFFSET = 10;
20
+ export declare const DEFAULT_ROOT_ARTIFACT_COLLISION_THROTTLE = 250;
21
+ export declare const DEFAULT_VIEWPORT_Z_INDEX = 1;
22
+ export declare const DEFAULT_ROOT_FLOW_STATE_Z_INDEX = 2;
23
+ export declare const DEFAULT_ROOT_ARTIFACT_Z_INDEX = 3;
@@ -0,0 +1,14 @@
1
+ import { Container } from 'pixi.js';
2
+ import { Artifact } from '../models/artifact';
3
+ export type ArtifactFactory = Awaited<ReturnType<typeof artifactFactory>>;
4
+ type ArtifactFactoryOptions = {
5
+ cullAtZoomThreshold?: boolean;
6
+ };
7
+ export declare function artifactFactory(artifact: Artifact, { cullAtZoomThreshold }?: ArtifactFactoryOptions): Promise<{
8
+ element: Container<import("pixi.js").DisplayObject>;
9
+ render: () => Promise<void>;
10
+ getSelected: () => boolean;
11
+ getDate: () => Date;
12
+ getId: () => string;
13
+ }>;
14
+ export {};
@@ -0,0 +1,11 @@
1
+ import { Container } from 'pixi.js';
2
+ type ArtifactBarFactoryRenderProps = {
3
+ selected: boolean;
4
+ width: number;
5
+ height: number;
6
+ };
7
+ export declare function artifactBarFactory(): Promise<{
8
+ element: Container<import("pixi.js").DisplayObject>;
9
+ render: ({ selected, width, height }: ArtifactBarFactoryRenderProps) => Promise<Container>;
10
+ }>;
11
+ export {};
@@ -0,0 +1,13 @@
1
+ export type ArtifactClusterFactory = Awaited<ReturnType<typeof artifactClusterFactory>>;
2
+ export type ArtifactClusterFactoryRenderProps = {
3
+ ids: string[];
4
+ date: Date;
5
+ };
6
+ export declare function artifactClusterFactory(): Promise<{
7
+ element: import("pixi.js").Container<import("pixi.js").DisplayObject>;
8
+ render: (props?: ArtifactClusterFactoryRenderProps) => Promise<void>;
9
+ getSelected: () => boolean;
10
+ getDate: () => Date | null;
11
+ getIds: () => string[];
12
+ isCluster: boolean;
13
+ }>;
@@ -0,0 +1,15 @@
1
+ import { Container } from 'pixi.js';
2
+ import { ArtifactType } from '../models';
3
+ type ArtifactNodeFactoryOptions = {
4
+ cullAtZoomThreshold?: boolean;
5
+ };
6
+ type ArtifactNodeFactoryRenderOptions = {
7
+ selected?: boolean;
8
+ name?: string;
9
+ type?: ArtifactType;
10
+ };
11
+ export declare function artifactNodeFactory({ cullAtZoomThreshold }: ArtifactNodeFactoryOptions): Promise<{
12
+ element: Container<import("pixi.js").DisplayObject>;
13
+ render: (options?: ArtifactNodeFactoryRenderOptions) => Promise<Container>;
14
+ }>;
15
+ export {};
@@ -0,0 +1,17 @@
1
+ import { ArtifactFactory } from '../factories/artifact';
2
+ import { ArtifactClusterFactory } from '../factories/artifactCluster';
3
+ import { Artifact } from '../models';
4
+ export type FlowRunArtifactFactory = Awaited<ReturnType<typeof flowRunArtifactFactory>>;
5
+ type ArtifactFactoryOptions = {
6
+ type: 'artifact';
7
+ artifact: Artifact;
8
+ } | {
9
+ type: 'cluster';
10
+ };
11
+ type FactoryType<T> = T extends {
12
+ type: 'artifact';
13
+ } ? ArtifactFactory : T extends {
14
+ type: 'cluster';
15
+ } ? ArtifactClusterFactory : never;
16
+ export declare function flowRunArtifactFactory<T extends ArtifactFactoryOptions>(options: T): Promise<FactoryType<T>>;
17
+ export {};
@@ -0,0 +1,4 @@
1
+ import { Artifact } from '../models';
2
+ export declare function flowRunArtifactsFactory(): Promise<{
3
+ render: (newData?: Artifact[]) => Promise<void>;
4
+ }>;
@@ -0,0 +1,11 @@
1
+ import { Container } from 'pixi.js';
2
+ import { StateEvent } from '../models/states';
3
+ export type FlowRunStateFactory = Awaited<ReturnType<typeof flowRunStateFactory>>;
4
+ type FlowRunStateFactoryOptions = {
5
+ end: Date;
6
+ };
7
+ export declare function flowRunStateFactory(state: StateEvent, options?: FlowRunStateFactoryOptions): Promise<{
8
+ element: Container<import("pixi.js").DisplayObject>;
9
+ render: (newOptions?: FlowRunStateFactoryOptions) => void;
10
+ }>;
11
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Container } from 'pixi.js';
2
+ import { StateEvent } from '../models/states';
3
+ export declare function flowRunStatesFactory(): {
4
+ element: Container<import("pixi.js").DisplayObject>;
5
+ render: (newStateData?: StateEvent[]) => Promise<void>;
6
+ };
@@ -0,0 +1,10 @@
1
+ import { Sprite } from 'pixi.js';
2
+ import { IconName } from '../models/icon';
3
+ type IconFactoryOptions = {
4
+ cullAtZoomThreshold?: boolean;
5
+ };
6
+ export declare function iconFactory({ cullAtZoomThreshold }?: IconFactoryOptions): Promise<{
7
+ element: Sprite;
8
+ render: (icon: IconName) => Promise<Sprite>;
9
+ }>;
10
+ export {};
@@ -1,5 +1,9 @@
1
1
  import { BitmapText } from 'pixi.js';
2
- export declare function nodeLabelFactory(): Promise<{
2
+ type NodeLabelFactoryOptions = {
3
+ cullAtZoomThreshold?: boolean;
4
+ };
5
+ export declare function nodeLabelFactory({ cullAtZoomThreshold }?: NodeLabelFactoryOptions): Promise<{
3
6
  element: BitmapText;
4
7
  render: (text: string) => Promise<BitmapText>;
5
8
  }>;
9
+ export {};
@@ -1,3 +1,4 @@
1
+ import { Container } from 'pixi.js';
1
2
  import { BoundsContainer } from '../models/boundsContainer';
2
3
  import { Pixels } from '../models/layout';
3
4
  import { RunGraphNode } from '../models/RunGraph';
@@ -5,6 +6,6 @@ export type NodeContainerFactory = Awaited<ReturnType<typeof nodeContainerFactor
5
6
  export declare function nodeContainerFactory(node: RunGraphNode): Promise<{
6
7
  element: BoundsContainer;
7
8
  render: (node: RunGraphNode) => Promise<BoundsContainer>;
8
- bar: import("pixi.js").Container<import("pixi.js").DisplayObject>;
9
+ bar: Container<import("pixi.js").DisplayObject>;
9
10
  setPosition: ({ x, y }: Pixels) => void;
10
11
  }>;
@@ -0,0 +1,11 @@
1
+ import { Container } from 'pixi.js';
2
+ type SelectedBorderFactoryRenderProps = {
3
+ selected: boolean;
4
+ width: number;
5
+ height: number;
6
+ };
7
+ export declare function selectedBorderFactory(): Promise<{
8
+ element: Container<import("pixi.js").DisplayObject>;
9
+ render: ({ selected, width, height }: SelectedBorderFactoryRenderProps) => Promise<Container>;
10
+ }>;
11
+ export {};
@@ -1,18 +1,21 @@
1
1
  import { ColorSource } from 'pixi.js';
2
- import { NodeSelection } from '../models/selection';
3
- import { StateType } from '../models/states';
2
+ import { Artifact } from '../models';
3
+ import { GraphItemSelection } from '../models/selection';
4
+ import { StateEvent, StateType } from '../models/states';
4
5
  import { ViewportDateRange } from '../models/viewport';
5
6
  export type RunGraphProps = {
6
7
  config: RunGraphConfig;
7
8
  viewport?: ViewportDateRange;
8
9
  fullscreen?: boolean | null;
9
- selected?: NodeSelection | null;
10
+ selected?: GraphItemSelection | null;
10
11
  };
11
12
  export type RunGraphData = {
12
13
  root_node_ids: string[];
13
14
  start_time: Date;
14
15
  end_time: Date | null;
15
16
  nodes: RunGraphNodes;
17
+ artifacts?: Artifact[];
18
+ state_events?: StateEvent[];
16
19
  };
17
20
  export type RunGraphNodes = Map<string, RunGraphNode>;
18
21
  export type RunGraphNode = {
@@ -24,6 +27,7 @@ export type RunGraphNode = {
24
27
  end_time: Date | null;
25
28
  parents: RunGraphEdge[];
26
29
  children: RunGraphEdge[];
30
+ artifacts?: Artifact[];
27
31
  };
28
32
  export type RunGraphEdge = {
29
33
  id: string;
@@ -35,12 +39,19 @@ export type RunGraphFetch = (runId: string) => RunGraphData | Promise<RunGraphDa
35
39
  export type RunGraphNodeStyles = {
36
40
  background?: ColorSource;
37
41
  };
42
+ export type RunGraphStateStyles = {
43
+ background?: ColorSource;
44
+ };
38
45
  export type RunGraphStyles = {
39
46
  colorMode: 'dark' | 'light';
40
47
  rowGap?: number;
41
48
  columnGap?: number;
42
49
  textDefault?: ColorSource;
43
50
  textInverse?: ColorSource;
51
+ selectedBorderColor?: ColorSource;
52
+ selectedBorderWidth?: number;
53
+ selectedBorderOffset?: number;
54
+ selectedBorderRadius?: number;
44
55
  nodesPadding?: number;
45
56
  nodeHeight?: number;
46
57
  nodePadding?: number;
@@ -50,9 +61,21 @@ export type RunGraphStyles = {
50
61
  nodeToggleSize?: number;
51
62
  nodeToggleBorderRadius?: number;
52
63
  nodeToggleBorderColor?: ColorSource;
53
- nodeSelectedBorderColor?: ColorSource;
54
64
  nodeUnselectedAlpha?: number;
55
65
  edgeColor?: ColorSource;
66
+ artifactsGap?: number;
67
+ artifactsNodeOverlap?: number;
68
+ artifactPaddingLeft?: number;
69
+ artifactPaddingRight?: number;
70
+ artifactPaddingY?: number;
71
+ artifactTextColor?: ColorSource;
72
+ artifactBgColor?: ColorSource;
73
+ artifactBorderRadius?: number;
74
+ artifactContentGap?: number;
75
+ artifactIconSize?: number;
76
+ artifactIconColor?: ColorSource;
77
+ flowStateBarHeight?: number;
78
+ flowStateAreaAlpha?: number;
56
79
  guideLineWidth?: number;
57
80
  guideLineColor?: ColorSource;
58
81
  guideTextTopPadding?: number;
@@ -62,6 +85,7 @@ export type RunGraphStyles = {
62
85
  playheadWidth?: number;
63
86
  playheadColor?: ColorSource;
64
87
  node?: (node: RunGraphNode) => RunGraphNodeStyles;
88
+ state?: (state: StateEvent) => RunGraphStateStyles;
65
89
  };
66
90
  export type RunGraphConfig = {
67
91
  runId: string;
@@ -0,0 +1,14 @@
1
+ export declare const artifactTypes: readonly ["result", "markdown", "table", "unknown"];
2
+ export type ArtifactType = typeof artifactTypes[number];
3
+ export type Artifact = {
4
+ id: string;
5
+ created: Date;
6
+ key: string;
7
+ type: ArtifactType;
8
+ };
9
+ export declare const artifactTypeIconMap: {
10
+ readonly markdown: "ArtifactMarkdown";
11
+ readonly table: "ArtifactTable";
12
+ readonly result: "ArtifactResult";
13
+ readonly unknown: "Artifact";
14
+ };
@@ -0,0 +1,2 @@
1
+ import * as prefectIcons from '../textures/icons';
2
+ export type IconName = keyof typeof prefectIcons;
@@ -1,3 +1,4 @@
1
+ export * from './artifact';
1
2
  export * from './RunGraph';
2
3
  export * from './viewport';
3
4
  export * from './selection';
@@ -13,9 +13,10 @@ export type LayoutSettings = {
13
13
  vertical: VerticalMode;
14
14
  horizontalScaleMultiplierDefault: number;
15
15
  horizontalScaleMultiplier: number;
16
- disableEdges: boolean;
17
16
  disableAnimations: boolean;
18
17
  disableGuides: boolean;
18
+ disableEdges: boolean;
19
+ disableArtifacts: boolean;
19
20
  isTemporal: () => boolean;
20
21
  isDependency: () => boolean;
21
22
  isWaterfall: () => boolean;
@@ -1,5 +1,17 @@
1
- import { RunGraphNode } from '../models/RunGraph';
1
+ import { RunGraphNode } from '../models';
2
2
  export type NodeSelection = {
3
- id: string;
4
3
  kind: RunGraphNode['kind'];
4
+ id: string;
5
+ };
6
+ export declare function isNodeSelection(selection: GraphItemSelection): selection is NodeSelection;
7
+ export type ArtifactSelection = {
8
+ kind: 'artifact';
9
+ id: string;
10
+ };
11
+ export declare function isArtifactSelection(selection: GraphItemSelection): selection is ArtifactSelection;
12
+ export type ArtifactsSelection = {
13
+ kind: 'artifacts';
14
+ ids: string[];
5
15
  };
16
+ export declare function isArtifactsSelection(selection: GraphItemSelection): selection is ArtifactsSelection;
17
+ export type GraphItemSelection = NodeSelection | ArtifactSelection | ArtifactsSelection;
@@ -1,2 +1,7 @@
1
1
  export declare const stateType: readonly ["COMPLETED", "RUNNING", "SCHEDULED", "PENDING", "FAILED", "CANCELLED", "CANCELLING", "CRASHED", "PAUSED"];
2
2
  export type StateType = typeof stateType[number];
3
+ export type StateEvent = {
4
+ id: string;
5
+ occurred: Date;
6
+ type: StateType;
7
+ };
@@ -7,4 +7,5 @@ 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 waitForIconCull(): Promise<VisibilityCull>;
10
11
  export declare function waitForToggleCull(): Promise<VisibilityCull>;
@@ -5,7 +5,7 @@ import { EffectScope } from 'vue';
5
5
  import { HorizontalScale } from '../factories/position';
6
6
  import { LayoutSettings } from '../models/layout';
7
7
  import { RequiredGraphConfig, RunGraphData } from '../models/RunGraph';
8
- import { NodeSelection } from '../models/selection';
8
+ import { GraphItemSelection } from '../models/selection';
9
9
  import { ViewportDateRange } from '../models/viewport';
10
10
  import { Fonts } from '../objects/fonts';
11
11
  import { VisibilityCull } from '../services/visibilityCull';
@@ -18,6 +18,7 @@ type Events = {
18
18
  stageUpdated: HTMLDivElement;
19
19
  viewportCreated: Viewport;
20
20
  viewportDateRangeUpdated: ViewportDateRange;
21
+ viewportMoved: null;
21
22
  configCreated: RequiredGraphConfig;
22
23
  configUpdated: RequiredGraphConfig;
23
24
  scopeCreated: EffectScope;
@@ -27,10 +28,11 @@ type Events = {
27
28
  layoutSettingsCreated: LayoutSettings;
28
29
  cullCreated: Cull;
29
30
  labelCullCreated: VisibilityCull;
31
+ iconCullCreated: VisibilityCull;
30
32
  edgeCullCreated: VisibilityCull;
31
33
  runDataCreated: RunGraphData;
32
34
  runDataUpdated: RunGraphData;
33
- nodeSelected: NodeSelection | null;
35
+ itemSelected: GraphItemSelection | null;
34
36
  layoutUpdated: void;
35
37
  toggleCullCreated: VisibilityCull;
36
38
  };
@@ -0,0 +1,2 @@
1
+ export declare function startFlowRunArtifacts(): Promise<void>;
2
+ export declare function stopFlowRunArtifacts(): void;
@@ -0,0 +1,2 @@
1
+ export declare function startFlowRunStates(): Promise<void>;
2
+ export declare function stopFlowRunStates(): void;
@@ -1,6 +1,7 @@
1
- import { NodeSelection } from '../models/selection';
1
+ import { GraphItemSelection, NodeSelection } from '../models/selection';
2
2
  export declare function startSelection(): Promise<void>;
3
3
  export declare function stopSelection(): void;
4
- export declare function selectNode(node: NodeSelection | null): void;
5
- export declare function isSelected(selection: NodeSelection | null): boolean;
6
- export declare function getSelected(): NodeSelection | null;
4
+ export declare function selectItem(item: GraphItemSelection | null): void;
5
+ export declare function isSelected(item: GraphItemSelection): boolean;
6
+ export declare function getSelectedRunGraphNode(): NodeSelection | null;
7
+ export declare function getSelected(): GraphItemSelection | null;
@@ -6,9 +6,10 @@ export declare const layout: {
6
6
  vertical: VerticalMode;
7
7
  horizontalScaleMultiplierDefault: number;
8
8
  horizontalScaleMultiplier: number;
9
- disableEdges: boolean;
10
9
  disableAnimations: boolean;
11
10
  disableGuides: boolean;
11
+ disableEdges: boolean;
12
+ disableArtifacts: boolean;
12
13
  isTemporal: () => boolean;
13
14
  isDependency: () => boolean;
14
15
  isWaterfall: () => boolean;
@@ -25,3 +26,4 @@ export declare function setLayoutMode({ horizontal, vertical }: LayoutSettings):
25
26
  export declare function setHorizontalMode(mode: HorizontalMode): void;
26
27
  export declare function setVerticalMode(mode: VerticalMode): void;
27
28
  export declare function setDisabledEdges(value: boolean): void;
29
+ export declare function setDisabledArtifacts(value: boolean): void;
@@ -0,0 +1,3 @@
1
+ import { Texture } from 'pixi.js';
2
+ import { IconName } from '../models/icon';
3
+ export declare function getIconTexture(icon: IconName): Promise<Texture>;
@@ -0,0 +1,4 @@
1
+ export { default as Artifact } from './artifact.svg?url';
2
+ export { default as ArtifactMarkdown } from './artifact-markdown.svg?url';
3
+ export { default as ArtifactResult } from './artifact-result.svg?url';
4
+ export { default as ArtifactTable } from './artifact-table.svg?url';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prefecthq/graphs",
3
3
  "private": false,
4
- "version": "2.1.8",
4
+ "version": "2.2.0",
5
5
  "description": "Large scale graphs designed for Prefect",
6
6
  "scripts": {
7
7
  "serve": "vite --host --mode=demo",
@@ -42,34 +42,36 @@
42
42
  "@types/fontfaceobserver": "^2.1.2",
43
43
  "@types/lodash.isequal": "4.5.8",
44
44
  "@types/lodash.merge": "4.6.9",
45
+ "@types/lodash.throttle": "^4.1.9",
45
46
  "@types/node": "^20.1.7",
46
- "@vitejs/plugin-vue": "4.5.1",
47
+ "@vitejs/plugin-vue": "5.0.4",
47
48
  "auto-changelog": "^2.4.0",
48
- "autoprefixer": "10.4.16",
49
- "eslint": "8.55.0",
50
- "postcss": "8.4.32",
51
- "tailwindcss": "3.3.5",
49
+ "autoprefixer": "10.4.17",
50
+ "eslint": "8.56.0",
51
+ "postcss": "8.4.35",
52
+ "tailwindcss": "3.4.1",
52
53
  "tsc-alias": "1.8.8",
53
- "typescript": "5.3.2",
54
- "vite": "5.0.5",
54
+ "typescript": "5.3.3",
55
+ "vite": "5.1.1",
55
56
  "vite-svg-loader": "^5.1.0",
56
- "vue-tsc": "1.8.22"
57
+ "vue-tsc": "1.8.27"
57
58
  },
58
59
  "peerDependencies": {
59
- "@prefecthq/prefect-design": "^2.0.1",
60
- "@prefecthq/vue-compositions": "^1.5.9",
60
+ "@prefecthq/prefect-design": "^2.3.1",
61
+ "@prefecthq/vue-compositions": "^1.6.7",
61
62
  "vue": "^3.2.45",
62
63
  "vue-router": "^4.0.12"
63
64
  },
64
65
  "dependencies": {
65
66
  "@pixi-essentials/cull": "2.0.0",
66
67
  "d3": "7.8.5",
67
- "date-fns": "2.30.0",
68
+ "date-fns": "3.3.1",
68
69
  "fontfaceobserver": "^2.3.0",
69
70
  "gsap": "^3.12.2",
70
71
  "lodash.isequal": "4.5.0",
71
72
  "lodash.merge": "4.6.2",
72
- "pixi-viewport": "5.0.2",
73
+ "lodash.throttle": "^4.1.1",
74
+ "pixi-viewport": "5.0.1",
73
75
  "pixi.js": "7.3.2"
74
76
  }
75
77
  }