@babylonjs/inspector 7.32.5 → 7.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -5218,6 +5218,7 @@ export class NodePort {
5218
5218
  portData: IPortData;
5219
5219
  node: GraphNode;
5220
5220
  protected _element: HTMLDivElement;
5221
+ protected _portContainer: HTMLElement;
5221
5222
  protected _img: HTMLImageElement;
5222
5223
  protected _pip: HTMLDivElement;
5223
5224
  protected _stateManager: StateManager;
@@ -5227,6 +5228,7 @@ export class NodePort {
5227
5228
  protected _exposedOnFrame: boolean;
5228
5229
  delegatedPort: Nullable<FrameNodePort>;
5229
5230
  get element(): HTMLDivElement;
5231
+ get container(): HTMLElement;
5230
5232
  get portName(): string;
5231
5233
  set portName(newName: string);
5232
5234
  get disabled(): boolean;
@@ -5302,7 +5304,9 @@ export class GraphNode {
5302
5304
  private _headerContainer;
5303
5305
  private _headerIcon;
5304
5306
  private _headerIconImg;
5307
+ private _headerCollapseImg;
5305
5308
  private _header;
5309
+ private _headerCollapse;
5306
5310
  private _connections;
5307
5311
  private _optionsContainer;
5308
5312
  private _inputsContainer;
@@ -5334,6 +5338,7 @@ export class GraphNode {
5334
5338
  private _visualPropertiesRefresh;
5335
5339
  addClassToVisual(className: string): void;
5336
5340
  removeClassFromVisual(className: string): void;
5341
+ get isCollapsed(): boolean;
5337
5342
  get isVisible(): boolean;
5338
5343
  set isVisible(value: boolean);
5339
5344
  private _upateNodePortNames;
@@ -5371,6 +5376,15 @@ export class GraphNode {
5371
5376
  private _onMove;
5372
5377
  renderProperties(): Nullable<JSX.Element>;
5373
5378
  private _forceRebuild;
5379
+ private _isCollapsed;
5380
+ /**
5381
+ * Collapse the node
5382
+ */
5383
+ collapse(): void;
5384
+ /**
5385
+ * Expand the node
5386
+ */
5387
+ expand(): void;
5374
5388
  appendVisual(root: HTMLDivElement, owner: GraphCanvasComponent): void;
5375
5389
  dispose(): void;
5376
5390
  }
@@ -5779,6 +5793,7 @@ export interface INodeLocationInfo {
5779
5793
  blockId: number;
5780
5794
  x: number;
5781
5795
  y: number;
5796
+ isCollapsed: boolean;
5782
5797
  }
5783
5798
  export interface IFrameData {
5784
5799
  x: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "7.32.5",
3
+ "version": "7.34.0",
4
4
  "module": "dist/babylon.inspector.bundle.max.js",
5
5
  "main": "dist/babylon.inspector.bundle.max.js",
6
6
  "typings": "dist/babylon.inspector.module.d.ts",
@@ -32,12 +32,12 @@
32
32
  "@types/react-dom": ">=16.0.9"
33
33
  },
34
34
  "devDependencies": {
35
- "@babylonjs/core": "^7.32.5",
36
- "@babylonjs/gui": "^7.32.5",
37
- "@babylonjs/gui-editor": "^7.32.5",
38
- "@babylonjs/loaders": "^7.32.5",
39
- "@babylonjs/materials": "^7.32.5",
40
- "@babylonjs/serializers": "^7.32.5",
35
+ "@babylonjs/core": "^7.34.0",
36
+ "@babylonjs/gui": "^7.34.0",
37
+ "@babylonjs/gui-editor": "^7.34.0",
38
+ "@babylonjs/loaders": "^7.34.0",
39
+ "@babylonjs/materials": "^7.34.0",
40
+ "@babylonjs/serializers": "^7.34.0",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2"