@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;
|
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": "dist/babylon.nodeEditor.max.js",
|
|
5
5
|
"module": "dist/babylon.nodeEditor.max.js",
|
|
6
6
|
"esnext": "dist/babylon.nodeEditor.max.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babylonjs/core": "^5.
|
|
26
|
+
"@babylonjs/core": "^5.30.0",
|
|
27
27
|
"react": "^17.0.2",
|
|
28
28
|
"react-dom": "^17.0.2",
|
|
29
29
|
"rimraf": "^3.0.2",
|