@ghchinoy/litflow 0.2.4 → 0.2.6

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.
@@ -29,6 +29,7 @@ export declare class LitFlow extends LitFlow_base {
29
29
  private _height;
30
30
  set nodes(nodes: NodeBase[]);
31
31
  get nodes(): NodeBase[];
32
+ private _notifyChange;
32
33
  private _discoverNodes;
33
34
  set edges(edges: any[]);
34
35
  get edges(): any[];
@@ -48,6 +49,11 @@ export declare class LitFlow extends LitFlow_base {
48
49
  x: number;
49
50
  y: number;
50
51
  };
52
+ /**
53
+ * Fits the view to the current nodes.
54
+ * @param padding Optional padding in pixels (default: 50)
55
+ */
56
+ fitView(padding?: number): Promise<void>;
51
57
  private _updatePanZoom;
52
58
  firstUpdated(): void;
53
59
  updated(changedProperties: Map<string, any>): void;