babylonjs-node-editor 5.29.0 → 5.30.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.
|
@@ -1807,7 +1807,7 @@ export const LayoutContext: import("react").Context<{
|
|
|
1807
1807
|
|
|
1808
1808
|
}
|
|
1809
1809
|
declare module "babylonjs-node-editor/components/layout/types" {
|
|
1810
|
-
import {
|
|
1810
|
+
import { ReactElement } from "react";
|
|
1811
1811
|
export type LayoutTab = {
|
|
1812
1812
|
/**
|
|
1813
1813
|
* Tab id
|
|
@@ -1816,7 +1816,11 @@ export type LayoutTab = {
|
|
|
1816
1816
|
/**
|
|
1817
1817
|
* React component rendered by tab
|
|
1818
1818
|
*/
|
|
1819
|
-
component:
|
|
1819
|
+
component: ReactElement;
|
|
1820
|
+
/**
|
|
1821
|
+
* Tab title
|
|
1822
|
+
*/
|
|
1823
|
+
title: string;
|
|
1820
1824
|
};
|
|
1821
1825
|
export type LayoutTabsRow = {
|
|
1822
1826
|
/**
|
|
@@ -3023,11 +3027,17 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
|
|
|
3023
3027
|
static readonly NodeWidth: number;
|
|
3024
3028
|
private readonly _minZoom;
|
|
3025
3029
|
private readonly _maxZoom;
|
|
3030
|
+
private _hostCanvasRef;
|
|
3026
3031
|
private _hostCanvas;
|
|
3032
|
+
private _graphCanvasRef;
|
|
3027
3033
|
private _graphCanvas;
|
|
3034
|
+
private _selectionContainerRef;
|
|
3028
3035
|
private _selectionContainer;
|
|
3036
|
+
private _frameContainerRef;
|
|
3029
3037
|
private _frameContainer;
|
|
3038
|
+
private _svgCanvasRef;
|
|
3030
3039
|
private _svgCanvas;
|
|
3040
|
+
private _rootContainerRef;
|
|
3031
3041
|
private _rootContainer;
|
|
3032
3042
|
private _nodes;
|
|
3033
3043
|
private _links;
|
|
@@ -3315,6 +3325,8 @@ export class GraphNode {
|
|
|
3315
3325
|
private _displayManager;
|
|
3316
3326
|
private _isVisible;
|
|
3317
3327
|
private _enclosingFrameId;
|
|
3328
|
+
addClassToVisual(className: string): void;
|
|
3329
|
+
removeClassFromVisual(className: string): void;
|
|
3318
3330
|
get isVisible(): boolean;
|
|
3319
3331
|
set isVisible(value: boolean);
|
|
3320
3332
|
private _upateNodePortNames;
|
|
@@ -5511,7 +5523,11 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
5511
5523
|
/**
|
|
5512
5524
|
* React component rendered by tab
|
|
5513
5525
|
*/
|
|
5514
|
-
component: React.
|
|
5526
|
+
component: React.ReactElement;
|
|
5527
|
+
/**
|
|
5528
|
+
* Tab title
|
|
5529
|
+
*/
|
|
5530
|
+
title: string;
|
|
5515
5531
|
};
|
|
5516
5532
|
export type LayoutTabsRow = {
|
|
5517
5533
|
/**
|
|
@@ -6797,11 +6813,17 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
6797
6813
|
static readonly NodeWidth = 100;
|
|
6798
6814
|
private readonly _minZoom;
|
|
6799
6815
|
private readonly _maxZoom;
|
|
6816
|
+
private _hostCanvasRef;
|
|
6800
6817
|
private _hostCanvas;
|
|
6818
|
+
private _graphCanvasRef;
|
|
6801
6819
|
private _graphCanvas;
|
|
6820
|
+
private _selectionContainerRef;
|
|
6802
6821
|
private _selectionContainer;
|
|
6822
|
+
private _frameContainerRef;
|
|
6803
6823
|
private _frameContainer;
|
|
6824
|
+
private _svgCanvasRef;
|
|
6804
6825
|
private _svgCanvas;
|
|
6826
|
+
private _rootContainerRef;
|
|
6805
6827
|
private _rootContainer;
|
|
6806
6828
|
private _nodes;
|
|
6807
6829
|
private _links;
|
|
@@ -7084,6 +7106,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
7084
7106
|
private _displayManager;
|
|
7085
7107
|
private _isVisible;
|
|
7086
7108
|
private _enclosingFrameId;
|
|
7109
|
+
addClassToVisual(className: string): void;
|
|
7110
|
+
removeClassFromVisual(className: string): void;
|
|
7087
7111
|
get isVisible(): boolean;
|
|
7088
7112
|
set isVisible(value: boolean);
|
|
7089
7113
|
private _upateNodePortNames;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-editor",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.30.0",
|
|
4
4
|
"main": "babylon.nodeEditor.js",
|
|
5
5
|
"types": "babylon.nodeEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^5.
|
|
17
|
+
"babylonjs": "^5.30.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|