babylonjs-node-editor 6.16.0 → 6.16.2
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.
|
@@ -121,6 +121,7 @@ export class LogEntry {
|
|
|
121
121
|
export class LogComponent extends React.Component<ILogComponentProps, {
|
|
122
122
|
logs: LogEntry[];
|
|
123
123
|
}> {
|
|
124
|
+
private _logConsoleRef;
|
|
124
125
|
constructor(props: ILogComponentProps);
|
|
125
126
|
componentDidMount(): void;
|
|
126
127
|
componentDidUpdate(): void;
|
|
@@ -547,7 +548,7 @@ export class GraphEditor extends React.Component<IGraphEditorProps, IGraphEditor
|
|
|
547
548
|
componentWillUnmount(): void;
|
|
548
549
|
constructor(props: IGraphEditorProps);
|
|
549
550
|
zoomToFit(): void;
|
|
550
|
-
buildMaterial(
|
|
551
|
+
buildMaterial(): void;
|
|
551
552
|
build(ignoreEditorData?: boolean): void;
|
|
552
553
|
loadGraph(): void;
|
|
553
554
|
showWaitScreen(): void;
|
|
@@ -1044,9 +1045,7 @@ export interface IFrameNodePortPropertyTabComponentProps {
|
|
|
1044
1045
|
nodePort: NodePort;
|
|
1045
1046
|
}
|
|
1046
1047
|
export class NodePortPropertyTabComponent extends React.Component<IFrameNodePortPropertyTabComponentProps> {
|
|
1047
|
-
private _onSelectionChangedObserver;
|
|
1048
1048
|
constructor(props: IFrameNodePortPropertyTabComponentProps);
|
|
1049
|
-
componentWillUnmount(): void;
|
|
1050
1049
|
toggleExposeOnFrame(value: boolean): void;
|
|
1051
1050
|
render(): JSX.Element;
|
|
1052
1051
|
}
|
|
@@ -2727,7 +2726,7 @@ export class FloatLineComponent extends React.Component<IFloatLineComponentProps
|
|
|
2727
2726
|
private _store;
|
|
2728
2727
|
constructor(props: IFloatLineComponentProps);
|
|
2729
2728
|
componentWillUnmount(): void;
|
|
2730
|
-
getValueString(value: any): string;
|
|
2729
|
+
getValueString(value: any, props: IFloatLineComponentProps): string;
|
|
2731
2730
|
shouldComponentUpdate(nextProps: IFloatLineComponentProps, nextState: {
|
|
2732
2731
|
value: string;
|
|
2733
2732
|
dragging: boolean;
|
|
@@ -3679,6 +3678,7 @@ export class GraphNode {
|
|
|
3679
3678
|
private _outputsContainer;
|
|
3680
3679
|
private _content;
|
|
3681
3680
|
private _comments;
|
|
3681
|
+
private _executionTime;
|
|
3682
3682
|
private _selectionBorder;
|
|
3683
3683
|
private _inputPorts;
|
|
3684
3684
|
private _outputPorts;
|
|
@@ -3780,6 +3780,8 @@ export interface INodeData {
|
|
|
3780
3780
|
uniqueId: number;
|
|
3781
3781
|
isInput: boolean;
|
|
3782
3782
|
comments: string;
|
|
3783
|
+
executionTime?: number;
|
|
3784
|
+
refreshCallback?: () => void;
|
|
3783
3785
|
prepareHeaderIcon: (iconDiv: HTMLDivElement, img: HTMLImageElement) => void;
|
|
3784
3786
|
getClassName: () => string;
|
|
3785
3787
|
dispose: () => void;
|
|
@@ -3787,6 +3789,7 @@ export interface INodeData {
|
|
|
3787
3789
|
inputs: IPortData[];
|
|
3788
3790
|
outputs: IPortData[];
|
|
3789
3791
|
invisibleEndpoints?: Nullable<any[]>;
|
|
3792
|
+
isConnectedToOutput?: () => boolean;
|
|
3790
3793
|
}
|
|
3791
3794
|
|
|
3792
3795
|
}
|
|
@@ -4020,7 +4023,7 @@ export class StateManager {
|
|
|
4020
4023
|
onCandidateLinkMoved: Observable<Nullable<Vector2>>;
|
|
4021
4024
|
onCandidatePortSelectedObservable: Observable<Nullable<FrameNodePort | NodePort>>;
|
|
4022
4025
|
onNewNodeCreatedObservable: Observable<GraphNode>;
|
|
4023
|
-
onRebuildRequiredObservable: Observable<
|
|
4026
|
+
onRebuildRequiredObservable: Observable<void>;
|
|
4024
4027
|
onErrorMessageDialogRequiredObservable: Observable<string>;
|
|
4025
4028
|
onExposePortOnFrameObservable: Observable<GraphNode>;
|
|
4026
4029
|
onGridSizeChanged: Observable<void>;
|
|
@@ -4434,6 +4437,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4434
4437
|
export class LogComponent extends React.Component<ILogComponentProps, {
|
|
4435
4438
|
logs: LogEntry[];
|
|
4436
4439
|
}> {
|
|
4440
|
+
private _logConsoleRef;
|
|
4437
4441
|
constructor(props: ILogComponentProps);
|
|
4438
4442
|
componentDidMount(): void;
|
|
4439
4443
|
componentDidUpdate(): void;
|
|
@@ -4757,7 +4761,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4757
4761
|
componentWillUnmount(): void;
|
|
4758
4762
|
constructor(props: IGraphEditorProps);
|
|
4759
4763
|
zoomToFit(): void;
|
|
4760
|
-
buildMaterial(
|
|
4764
|
+
buildMaterial(): void;
|
|
4761
4765
|
build(ignoreEditorData?: boolean): void;
|
|
4762
4766
|
loadGraph(): void;
|
|
4763
4767
|
showWaitScreen(): void;
|
|
@@ -5136,9 +5140,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5136
5140
|
nodePort: BABYLON.NodeEditor.SharedUIComponents.NodePort;
|
|
5137
5141
|
}
|
|
5138
5142
|
export class NodePortPropertyTabComponent extends React.Component<IFrameNodePortPropertyTabComponentProps> {
|
|
5139
|
-
private _onSelectionChangedObserver;
|
|
5140
5143
|
constructor(props: IFrameNodePortPropertyTabComponentProps);
|
|
5141
|
-
componentWillUnmount(): void;
|
|
5142
5144
|
toggleExposeOnFrame(value: boolean): void;
|
|
5143
5145
|
render(): JSX.Element;
|
|
5144
5146
|
}
|
|
@@ -6913,7 +6915,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
6913
6915
|
private _store;
|
|
6914
6916
|
constructor(props: IFloatLineComponentProps);
|
|
6915
6917
|
componentWillUnmount(): void;
|
|
6916
|
-
getValueString(value: any): string;
|
|
6918
|
+
getValueString(value: any, props: IFloatLineComponentProps): string;
|
|
6917
6919
|
shouldComponentUpdate(nextProps: IFloatLineComponentProps, nextState: {
|
|
6918
6920
|
value: string;
|
|
6919
6921
|
dragging: boolean;
|
|
@@ -7898,6 +7900,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
7898
7900
|
private _outputsContainer;
|
|
7899
7901
|
private _content;
|
|
7900
7902
|
private _comments;
|
|
7903
|
+
private _executionTime;
|
|
7901
7904
|
private _selectionBorder;
|
|
7902
7905
|
private _inputPorts;
|
|
7903
7906
|
private _outputPorts;
|
|
@@ -8006,6 +8009,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
8006
8009
|
uniqueId: number;
|
|
8007
8010
|
isInput: boolean;
|
|
8008
8011
|
comments: string;
|
|
8012
|
+
executionTime?: number;
|
|
8013
|
+
refreshCallback?: () => void;
|
|
8009
8014
|
prepareHeaderIcon: (iconDiv: HTMLDivElement, img: HTMLImageElement) => void;
|
|
8010
8015
|
getClassName: () => string;
|
|
8011
8016
|
dispose: () => void;
|
|
@@ -8013,6 +8018,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
8013
8018
|
inputs: BABYLON.NodeEditor.SharedUIComponents.IPortData[];
|
|
8014
8019
|
outputs: BABYLON.NodeEditor.SharedUIComponents.IPortData[];
|
|
8015
8020
|
invisibleEndpoints?: BABYLON.Nullable<any[]>;
|
|
8021
|
+
isConnectedToOutput?: () => boolean;
|
|
8016
8022
|
}
|
|
8017
8023
|
|
|
8018
8024
|
|
|
@@ -8256,7 +8262,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
8256
8262
|
onCandidateLinkMoved: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector2>>;
|
|
8257
8263
|
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort>>;
|
|
8258
8264
|
onNewNodeCreatedObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphNode>;
|
|
8259
|
-
onRebuildRequiredObservable: BABYLON.Observable<
|
|
8265
|
+
onRebuildRequiredObservable: BABYLON.Observable<void>;
|
|
8260
8266
|
onErrorMessageDialogRequiredObservable: BABYLON.Observable<string>;
|
|
8261
8267
|
onExposePortOnFrameObservable: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.GraphNode>;
|
|
8262
8268
|
onGridSizeChanged: BABYLON.Observable<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-editor",
|
|
3
|
-
"version": "6.16.
|
|
3
|
+
"version": "6.16.2",
|
|
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": "^6.16.
|
|
17
|
+
"babylonjs": "^6.16.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|