babylonjs-gui-editor 6.14.2 → 6.16.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.
@@ -3686,6 +3686,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
3686
3686
  private _onSelectionBoxMovedObserver;
3687
3687
  private _onFrameCreatedObserver;
3688
3688
  private _onUpdateRequiredObserver;
3689
+ private _onHighlightNodeObserver;
3689
3690
  private _ownerCanvas;
3690
3691
  private _isSelected;
3691
3692
  private _displayManager;
@@ -3749,6 +3750,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
3749
3750
  updateFullVisualContent?(data: BABYLON.GuiEditor.SharedUIComponents.INodeData, visualContent: VisualContentDescription): void;
3750
3751
  getBackgroundColor(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
3751
3752
  getHeaderText(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
3753
+ onSelectionChanged?(data: BABYLON.GuiEditor.SharedUIComponents.INodeData, selectedData: Nullable<BABYLON.GuiEditor.SharedUIComponents.INodeData>, manager: BABYLON.GuiEditor.SharedUIComponents.StateManager): void;
3754
+ onDispose?(nodeData: BABYLON.GuiEditor.SharedUIComponents.INodeData, manager: BABYLON.GuiEditor.SharedUIComponents.StateManager): void;
3752
3755
  }
3753
3756
 
3754
3757
 
@@ -3782,6 +3785,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
3782
3785
  getPortByName: (name: string) => Nullable<BABYLON.GuiEditor.SharedUIComponents.IPortData>;
3783
3786
  inputs: BABYLON.GuiEditor.SharedUIComponents.IPortData[];
3784
3787
  outputs: BABYLON.GuiEditor.SharedUIComponents.IPortData[];
3788
+ invisibleEndpoints?: Nullable<any[]>;
3785
3789
  }
3786
3790
 
3787
3791
 
@@ -4021,7 +4025,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
4021
4025
  onFrameCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>;
4022
4026
  onUpdateRequiredObservable: Observable<any>;
4023
4027
  onGraphNodeRemovalObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
4024
- onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
4028
+ onSelectionBoxMoved: Observable<DOMRect | ClientRect>;
4025
4029
  onCandidateLinkMoved: Observable<Nullable<Vector2>>;
4026
4030
  onCandidatePortSelectedObservable: Observable<Nullable<BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort>>;
4027
4031
  onNewNodeCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
@@ -4036,6 +4040,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
4036
4040
  needRepositioning?: boolean | undefined;
4037
4041
  smartAdd?: boolean | undefined;
4038
4042
  }>;
4043
+ onHighlightNodeObservable: Observable<{
4044
+ data: any;
4045
+ active: boolean;
4046
+ }>;
4039
4047
  exportData: (data: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => string;
4040
4048
  isElbowConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
4041
4049
  applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, img: HTMLImageElement) => void;
@@ -4057,7 +4065,7 @@ declare module BABYLON {
4057
4065
  }
4058
4066
  declare module BABYLON.GuiEditor.SharedUIComponents {
4059
4067
  export const IsFramePortData: (variableToCheck: any) => variableToCheck is BABYLON.GuiEditor.SharedUIComponents.FramePortData;
4060
- export const RefreshNode: (node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.GuiEditor.SharedUIComponents.GraphNode>, visitedLinks?: Set<BABYLON.GuiEditor.SharedUIComponents.NodeLink>) => void;
4068
+ export const RefreshNode: (node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.GuiEditor.SharedUIComponents.GraphNode>, visitedLinks?: Set<BABYLON.GuiEditor.SharedUIComponents.NodeLink>, canvas?: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent) => void;
4061
4069
 
4062
4070
 
4063
4071