@prefecthq/graphs 0.1.13 → 0.1.15

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,7 +18,7 @@ export type NodeLayoutWorkerProps = {
18
18
  data: {
19
19
  layoutSetting?: TimelineNodesLayoutOptions;
20
20
  graphData: string;
21
- defaultTextStyles?: TextStyle;
21
+ apxCharacterWidth?: number;
22
22
  spacingMinimumNodeEdgeGap?: number;
23
23
  timeScaleProps?: InitTimelineScaleProps;
24
24
  };
@@ -1,3 +1,3 @@
1
1
  import type { Viewport as ViewportType } from 'pixi-viewport';
2
- import type { Application } from 'pixi.js';
2
+ import { Application } from 'pixi.js';
3
3
  export declare function initViewport(stage: HTMLElement, appRef: Application): Promise<ViewportType>;
@@ -1,7 +1,7 @@
1
1
  import { Container } from 'pixi.js';
2
2
  import { ComputedRef } from 'vue';
3
- import { TimelineNode } from './timelineNode';
4
3
  import { ParsedThemeStyles } from '../models';
4
+ import { TimelineNode } from '../pixiFunctions/timelineNode';
5
5
  type TimelineEdgeProps = {
6
6
  styles: ComputedRef<ParsedThemeStyles>;
7
7
  sourceNode: TimelineNode;
@@ -1,6 +1,5 @@
1
1
  import type { Viewport } from 'pixi-viewport';
2
- import { Container } from 'pixi.js';
3
- import type { Application } from 'pixi.js';
2
+ import { Application, Container } from 'pixi.js';
4
3
  import { ComputedRef, Ref } from 'vue';
5
4
  import { FormatDateFns, ParsedThemeStyles } from '../models';
6
5
  type TimelineGuidesProps = {
@@ -1,8 +1,8 @@
1
1
  import type { Viewport } from 'pixi-viewport';
2
2
  import { Application, Container } from 'pixi.js';
3
3
  import { ComputedRef } from 'vue';
4
- import { TimelineNode } from './timelineNode';
5
4
  import { NodeThemeFn, ParsedThemeStyles, TimelineNodeData, TimelineNodesLayoutOptions, InitTimelineScaleProps } from '../models';
5
+ import { TimelineNode } from '../pixiFunctions/timelineNode';
6
6
  type TimelineNodesProps = {
7
7
  appRef: Application;
8
8
  viewportRef: Viewport;
@@ -36,6 +36,9 @@ export declare class TimelineNodes extends Container {
36
36
  private addNodeEdges;
37
37
  update(newData?: TimelineNodeData[]): void;
38
38
  updateSelection(selectedNodeId?: string | null): void;
39
+ private clearNodeSelection;
40
+ private setNodeSelection;
41
+ private centerViewportAfterOutsideAnimation;
39
42
  private highlightSelectedNodePath;
40
43
  private unHighlightAll;
41
44
  private getAllUpstreamEdges;
@@ -1,6 +1,5 @@
1
1
  import type { Viewport } from 'pixi-viewport';
2
- import { Container } from 'pixi.js';
3
- import type { Application } from 'pixi.js';
2
+ import { Application, Container } from 'pixi.js';
4
3
  import { ComputedRef } from 'vue';
5
4
  import { FormatDateFns, ParsedThemeStyles } from '../models';
6
5
  type TimelinePlayheadProps = {
@@ -1,4 +1,4 @@
1
- import { P as c, R as b, T as C, C as P } from "./index-2abc99ba.mjs";
1
+ import { P as c, R as b, T as C, C as P } from "./index-dad08d62.mjs";
2
2
  import "vue";
3
3
  class u {
4
4
  constructor(t) {
@@ -1530,4 +1530,4 @@ export {
1530
1530
  O as Viewport,
1531
1531
  $ as Wheel
1532
1532
  };
1533
- //# sourceMappingURL=viewport.es-0176c6aa.mjs.map
1533
+ //# sourceMappingURL=viewport.es-b7e2847d.mjs.map