babylonjs-node-geometry-editor 7.32.5 → 7.34.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.
@@ -267,7 +267,7 @@ declare module BABYLON.NodeGeometryEditor {
267
267
  canConnectTo(port: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData): boolean;
268
268
  disconnectFrom(port: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData): void;
269
269
  checkCompatibilityState(port: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData): 0 | BABYLON.NodeGeometryConnectionPointCompatibilityStates.TypeIncompatible | BABYLON.NodeGeometryConnectionPointCompatibilityStates.HierarchyIssue;
270
- getCompatibilityIssueMessage(issue: number, targetNode: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode, targetPort: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData): "" | "Cannot connect two different connection types" | "Source block cannot be connected with one of its ancestors";
270
+ getCompatibilityIssueMessage(issue: number, targetNode: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode, targetPort: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData): string;
271
271
  }
272
272
 
273
273
 
@@ -1261,6 +1261,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1261
1261
  portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData;
1262
1262
  node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode;
1263
1263
  protected _element: HTMLDivElement;
1264
+ protected _portContainer: HTMLElement;
1264
1265
  protected _img: HTMLImageElement;
1265
1266
  protected _pip: HTMLDivElement;
1266
1267
  protected _stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager;
@@ -1270,6 +1271,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1270
1271
  protected _exposedOnFrame: boolean;
1271
1272
  delegatedPort: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort>;
1272
1273
  get element(): HTMLDivElement;
1274
+ get container(): HTMLElement;
1273
1275
  get portName(): string;
1274
1276
  set portName(newName: string);
1275
1277
  get disabled(): boolean;
@@ -1350,7 +1352,9 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1350
1352
  private _headerContainer;
1351
1353
  private _headerIcon;
1352
1354
  private _headerIconImg;
1355
+ private _headerCollapseImg;
1353
1356
  private _header;
1357
+ private _headerCollapse;
1354
1358
  private _connections;
1355
1359
  private _optionsContainer;
1356
1360
  private _inputsContainer;
@@ -1382,6 +1386,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1382
1386
  private _visualPropertiesRefresh;
1383
1387
  addClassToVisual(className: string): void;
1384
1388
  removeClassFromVisual(className: string): void;
1389
+ get isCollapsed(): boolean;
1385
1390
  get isVisible(): boolean;
1386
1391
  set isVisible(value: boolean);
1387
1392
  private _upateNodePortNames;
@@ -1419,6 +1424,15 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1419
1424
  private _onMove;
1420
1425
  renderProperties(): BABYLON.Nullable<JSX.Element>;
1421
1426
  private _forceRebuild;
1427
+ private _isCollapsed;
1428
+ /**
1429
+ * Collapse the node
1430
+ */
1431
+ collapse(): void;
1432
+ /**
1433
+ * Expand the node
1434
+ */
1435
+ expand(): void;
1422
1436
  appendVisual(root: HTMLDivElement, owner: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphCanvasComponent): void;
1423
1437
  dispose(): void;
1424
1438
  }
@@ -1847,6 +1861,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1847
1861
  blockId: number;
1848
1862
  x: number;
1849
1863
  y: number;
1864
+ isCollapsed: boolean;
1850
1865
  }
1851
1866
  export interface IFrameData {
1852
1867
  x: number;