@prefecthq/graphs 2.2.8 → 2.2.10

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.
@@ -18,6 +18,6 @@ export declare const DEFAULT_GUIDES_COUNT = 30;
18
18
  export declare const DEFAULT_GUIDES_MIN_GAP = 260;
19
19
  export declare const DEFAULT_ROOT_COLLISION_THROTTLE = 250;
20
20
  export declare const DEFAULT_VIEWPORT_Z_INDEX = 1;
21
- export declare const DEFAULT_ROOT_FLOW_STATE_Z_INDEX = 2;
22
- export declare const DEFAULT_ROOT_EVENT_Z_INDEX = 3;
21
+ export declare const DEFAULT_ROOT_EVENT_Z_INDEX = 2;
22
+ export declare const DEFAULT_ROOT_FLOW_STATE_Z_INDEX = 3;
23
23
  export declare const DEFAULT_ROOT_ARTIFACT_Z_INDEX = 4;
@@ -84,6 +84,7 @@ export type RunGraphStyles = {
84
84
  flowStateSelectedBarHeight?: number;
85
85
  flowStateAreaAlpha?: number;
86
86
  eventTargetSize?: number;
87
+ eventBottomMargin?: number;
87
88
  eventSelectedBorderInset?: number;
88
89
  eventRadiusDefault?: number;
89
90
  eventColor?: ColorSource;
@@ -1,2 +1,4 @@
1
+ import { RunGraphEvent } from '../models';
1
2
  export declare function startFlowRunEvents(): Promise<void>;
2
3
  export declare function stopFlowRunEvents(): void;
4
+ export declare function waitForRunEvents(): Promise<RunGraphEvent[] | null>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prefecthq/graphs",
3
3
  "private": false,
4
- "version": "2.2.8",
4
+ "version": "2.2.10",
5
5
  "description": "Large scale graphs designed for Prefect",
6
6
  "scripts": {
7
7
  "serve": "vite --host --mode=demo",