@html-graph/html-graph 8.2.0 → 8.3.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.
@@ -75,6 +75,10 @@ export declare interface AnimatedLayoutAlgorithmParams {
75
75
  export declare interface AnimatedLayoutConfig {
76
76
  readonly algorithm?: AnimatedLayoutAlgorithmConfig | undefined;
77
77
  readonly staticNodeResolver?: ((nodeId: Identifier) => boolean) | undefined;
78
+ readonly events?: {
79
+ readonly onBeforeApplied?: () => void;
80
+ readonly onAfterApplied?: () => void;
81
+ };
78
82
  }
79
83
 
80
84
  export declare type ArrowRenderer = (params: ArrowRenderingParams) => string;
@@ -789,6 +793,10 @@ export declare interface LayoutConfig {
789
793
  readonly algorithm?: LayoutAlgorithmConfig | undefined;
790
794
  readonly applyOn?: LayoutApplyOn | undefined;
791
795
  readonly staticNodeResolver?: (nodeId: Identifier) => boolean;
796
+ readonly events?: {
797
+ readonly onBeforeApplied?: () => void;
798
+ readonly onAfterApplied?: () => void;
799
+ };
792
800
  }
793
801
 
794
802
  export declare type MarkNodePortRequest = {