@babylonjs/inspector 6.15.0 → 6.16.1
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.
@@ -5815,7 +5815,7 @@ export class FloatLineComponent extends React.Component<IFloatLineComponentProps
|
|
5815
5815
|
private _store;
|
5816
5816
|
constructor(props: IFloatLineComponentProps);
|
5817
5817
|
componentWillUnmount(): void;
|
5818
|
-
getValueString(value: any): string;
|
5818
|
+
getValueString(value: any, props: IFloatLineComponentProps): string;
|
5819
5819
|
shouldComponentUpdate(nextProps: IFloatLineComponentProps, nextState: {
|
5820
5820
|
value: string;
|
5821
5821
|
dragging: boolean;
|
@@ -6767,6 +6767,7 @@ export class GraphNode {
|
|
6767
6767
|
private _outputsContainer;
|
6768
6768
|
private _content;
|
6769
6769
|
private _comments;
|
6770
|
+
private _executionTime;
|
6770
6771
|
private _selectionBorder;
|
6771
6772
|
private _inputPorts;
|
6772
6773
|
private _outputPorts;
|
@@ -6782,6 +6783,7 @@ export class GraphNode {
|
|
6782
6783
|
private _onSelectionBoxMovedObserver;
|
6783
6784
|
private _onFrameCreatedObserver;
|
6784
6785
|
private _onUpdateRequiredObserver;
|
6786
|
+
private _onHighlightNodeObserver;
|
6785
6787
|
private _ownerCanvas;
|
6786
6788
|
private _isSelected;
|
6787
6789
|
private _displayManager;
|
@@ -6830,6 +6832,8 @@ export class GraphNode {
|
|
6830
6832
|
|
6831
6833
|
}
|
6832
6834
|
declare module "@babylonjs/inspector/nodeGraphSystem/interfaces/displayManager" {
|
6835
|
+
import { Nullable } from "@babylonjs/core/types";
|
6836
|
+
import { StateManager } from "@babylonjs/inspector/nodeGraphSystem/stateManager";
|
6833
6837
|
import { INodeData } from "@babylonjs/inspector/nodeGraphSystem/interfaces/nodeData";
|
6834
6838
|
import { IPortData } from "@babylonjs/inspector/nodeGraphSystem/interfaces/portData";
|
6835
6839
|
export interface VisualContentDescription {
|
@@ -6842,6 +6846,8 @@ export interface IDisplayManager {
|
|
6842
6846
|
updateFullVisualContent?(data: INodeData, visualContent: VisualContentDescription): void;
|
6843
6847
|
getBackgroundColor(data: INodeData): string;
|
6844
6848
|
getHeaderText(data: INodeData): string;
|
6849
|
+
onSelectionChanged?(data: INodeData, selectedData: Nullable<INodeData>, manager: StateManager): void;
|
6850
|
+
onDispose?(nodeData: INodeData, manager: StateManager): void;
|
6845
6851
|
}
|
6846
6852
|
|
6847
6853
|
}
|
@@ -6863,12 +6869,16 @@ export interface INodeData {
|
|
6863
6869
|
uniqueId: number;
|
6864
6870
|
isInput: boolean;
|
6865
6871
|
comments: string;
|
6872
|
+
executionTime?: number;
|
6873
|
+
refreshCallback?: () => void;
|
6866
6874
|
prepareHeaderIcon: (iconDiv: HTMLDivElement, img: HTMLImageElement) => void;
|
6867
6875
|
getClassName: () => string;
|
6868
6876
|
dispose: () => void;
|
6869
6877
|
getPortByName: (name: string) => Nullable<IPortData>;
|
6870
6878
|
inputs: IPortData[];
|
6871
6879
|
outputs: IPortData[];
|
6880
|
+
invisibleEndpoints?: Nullable<any[]>;
|
6881
|
+
isConnectedToOutput?: () => boolean;
|
6872
6882
|
}
|
6873
6883
|
|
6874
6884
|
}
|
@@ -7098,11 +7108,11 @@ export class StateManager {
|
|
7098
7108
|
onFrameCreatedObservable: Observable<GraphFrame>;
|
7099
7109
|
onUpdateRequiredObservable: Observable<any>;
|
7100
7110
|
onGraphNodeRemovalObservable: Observable<GraphNode>;
|
7101
|
-
onSelectionBoxMoved: Observable<
|
7111
|
+
onSelectionBoxMoved: Observable<DOMRect | ClientRect>;
|
7102
7112
|
onCandidateLinkMoved: Observable<Nullable<Vector2>>;
|
7103
7113
|
onCandidatePortSelectedObservable: Observable<Nullable<FrameNodePort | NodePort>>;
|
7104
7114
|
onNewNodeCreatedObservable: Observable<GraphNode>;
|
7105
|
-
onRebuildRequiredObservable: Observable<
|
7115
|
+
onRebuildRequiredObservable: Observable<void>;
|
7106
7116
|
onErrorMessageDialogRequiredObservable: Observable<string>;
|
7107
7117
|
onExposePortOnFrameObservable: Observable<GraphNode>;
|
7108
7118
|
onGridSizeChanged: Observable<void>;
|
@@ -7113,6 +7123,10 @@ export class StateManager {
|
|
7113
7123
|
needRepositioning?: boolean | undefined;
|
7114
7124
|
smartAdd?: boolean | undefined;
|
7115
7125
|
}>;
|
7126
|
+
onHighlightNodeObservable: Observable<{
|
7127
|
+
data: any;
|
7128
|
+
active: boolean;
|
7129
|
+
}>;
|
7116
7130
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
7117
7131
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
7118
7132
|
applyNodePortDesign: (data: IPortData, element: HTMLElement, img: HTMLImageElement) => void;
|
@@ -7128,11 +7142,12 @@ export class StateManager {
|
|
7128
7142
|
|
7129
7143
|
}
|
7130
7144
|
declare module "@babylonjs/inspector/nodeGraphSystem/tools" {
|
7145
|
+
import { GraphCanvasComponent } from "@babylonjs/inspector/nodeGraphSystem/graphCanvas";
|
7131
7146
|
import { GraphNode } from "@babylonjs/inspector/nodeGraphSystem/graphNode";
|
7132
7147
|
import { NodeLink } from "@babylonjs/inspector/nodeGraphSystem/nodeLink";
|
7133
7148
|
import { FramePortData } from "@babylonjs/inspector/nodeGraphSystem/types/framePortData";
|
7134
7149
|
export const IsFramePortData: (variableToCheck: any) => variableToCheck is FramePortData;
|
7135
|
-
export const RefreshNode: (node: GraphNode, visitedNodes?: Set<GraphNode>, visitedLinks?: Set<NodeLink
|
7150
|
+
export const RefreshNode: (node: GraphNode, visitedNodes?: Set<GraphNode>, visitedLinks?: Set<NodeLink>, canvas?: GraphCanvasComponent) => void;
|
7136
7151
|
|
7137
7152
|
}
|
7138
7153
|
declare module "@babylonjs/inspector/nodeGraphSystem/typeLedger" {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "6.
|
3
|
+
"version": "6.16.1",
|
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": "^6.
|
36
|
-
"@babylonjs/gui": "^6.
|
37
|
-
"@babylonjs/gui-editor": "^6.
|
38
|
-
"@babylonjs/loaders": "^6.
|
39
|
-
"@babylonjs/materials": "^6.
|
40
|
-
"@babylonjs/serializers": "^6.
|
35
|
+
"@babylonjs/core": "^6.16.1",
|
36
|
+
"@babylonjs/gui": "^6.16.1",
|
37
|
+
"@babylonjs/gui-editor": "^6.16.1",
|
38
|
+
"@babylonjs/loaders": "^6.16.1",
|
39
|
+
"@babylonjs/materials": "^6.16.1",
|
40
|
+
"@babylonjs/serializers": "^6.16.1",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2"
|