babylonjs-inspector 5.32.0 → 5.32.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.
@@ -4271,6 +4271,285 @@ declare module INSPECTOR.SharedUIComponents {
4271
4271
 
4272
4272
 
4273
4273
 
4274
+ }
4275
+ declare module INSPECTOR {
4276
+
4277
+ }
4278
+ declare module INSPECTOR.SharedUIComponents {
4279
+ /**
4280
+ * Props for the connector
4281
+ */
4282
+ export interface IGraphConnectorHandlerProps {
4283
+ /**
4284
+ * id of the parent node
4285
+ */
4286
+ parentId: string;
4287
+ /**
4288
+ * x position of the parent node
4289
+ */
4290
+ parentX: number;
4291
+ /**
4292
+ * y position of the parent node
4293
+ */
4294
+ parentY: number;
4295
+ /**
4296
+ * x position of the connector relative to the parent node
4297
+ */
4298
+ offsetX?: number;
4299
+ /**
4300
+ * y position of the connector relative to the parent node
4301
+ */
4302
+ offsetY?: number;
4303
+ /**
4304
+ * width of the parent node
4305
+ */
4306
+ parentWidth: number;
4307
+ /**
4308
+ * height of the parent node
4309
+ */
4310
+ parentHeight: number;
4311
+ /**
4312
+ * id of the container where its parent node is
4313
+ */
4314
+ parentContainerId: string;
4315
+ }
4316
+ /**
4317
+ * This component is used to initiate a connection between two nodes. Simply
4318
+ * drag the handle in a node and drop it in another node to create a connection.
4319
+ */
4320
+ export var GraphConnectorHandler: React.FC<IGraphConnectorHandlerProps>;
4321
+
4322
+
4323
+
4324
+ }
4325
+ declare module INSPECTOR {
4326
+
4327
+ }
4328
+ declare module INSPECTOR.SharedUIComponents {
4329
+ export interface IGraphContainerProps {
4330
+ }
4331
+ /**
4332
+ * This component is just a simple container to keep the nodes and lines containers
4333
+ * together
4334
+ * @param props
4335
+ * @returns
4336
+ */
4337
+ export var GraphContainer: React.FC<IGraphContainerProps>;
4338
+
4339
+
4340
+
4341
+ }
4342
+ declare module INSPECTOR {
4343
+
4344
+ }
4345
+ declare module INSPECTOR.SharedUIComponents {
4346
+ /// <reference types="react" />
4347
+ /**
4348
+ * this context is used to pass callbacks to the graph nodes and connections
4349
+ */
4350
+ export interface IGraphContext {
4351
+ onNodesConnected?: (sourceId: string, targetId: string) => void;
4352
+ onLineSelected?: (lineId: string) => void;
4353
+ onNodeSelected?: (nodeId: string) => void;
4354
+ }
4355
+ export var GraphContextManager: import("react").Context<IGraphContext>;
4356
+
4357
+
4358
+
4359
+ }
4360
+ declare module INSPECTOR {
4361
+
4362
+ }
4363
+ declare module INSPECTOR.SharedUIComponents {
4364
+ /**
4365
+ * props for the GraphLine component
4366
+ */
4367
+ export interface IGraphLineProps {
4368
+ /**
4369
+ * id of the line. temporary lines can have no id
4370
+ */
4371
+ id?: string;
4372
+ /**
4373
+ * starting x pos of the line
4374
+ */
4375
+ x1: number;
4376
+ /**
4377
+ * ending x pos of the line
4378
+ */
4379
+ x2: number;
4380
+ /**
4381
+ * starting y pos of the line
4382
+ */
4383
+ y1: number;
4384
+ /**
4385
+ * ending y pos of the line
4386
+ */
4387
+ y2: number;
4388
+ /**
4389
+ * is the line selected
4390
+ */
4391
+ selected?: boolean;
4392
+ /**
4393
+ * does the line have a direction
4394
+ */
4395
+ directional?: boolean;
4396
+ }
4397
+ export const MarkerArrowId = "arrow";
4398
+ /**
4399
+ * This component draws a SVG line between two points, with an optional marker
4400
+ * indicating direction
4401
+ */
4402
+ export var GraphLine: React.FC<IGraphLineProps>;
4403
+
4404
+
4405
+
4406
+ }
4407
+ declare module INSPECTOR {
4408
+
4409
+ }
4410
+ declare module INSPECTOR.SharedUIComponents {
4411
+ /**
4412
+ * props for the GraphLineContainer
4413
+ */
4414
+ export interface IGraphLinesContainerProps {
4415
+ /**
4416
+ * id of the container
4417
+ */
4418
+ id: string;
4419
+ }
4420
+ /**
4421
+ * this component handles the dragging of new connections
4422
+ * @param props
4423
+ * @returns
4424
+ */
4425
+ export var GraphLinesContainer: React.FC<IGraphLinesContainerProps>;
4426
+
4427
+
4428
+
4429
+ }
4430
+ declare module INSPECTOR {
4431
+
4432
+ }
4433
+ declare module INSPECTOR.SharedUIComponents {
4434
+ export interface IGraphNodeProps {
4435
+ id: string;
4436
+ name: string;
4437
+ x: number;
4438
+ y: number;
4439
+ selected?: boolean;
4440
+ width?: number;
4441
+ height?: number;
4442
+ highlighted?: boolean;
4443
+ parentContainerId: string;
4444
+ }
4445
+ export var GraphNode: React.FC<IGraphNodeProps>;
4446
+
4447
+
4448
+
4449
+ }
4450
+ declare module INSPECTOR {
4451
+
4452
+ }
4453
+ declare module INSPECTOR.SharedUIComponents {
4454
+ export interface IGraphContainerProps {
4455
+ onNodeMoved: (id: string, x: number, y: number) => void;
4456
+ id: string;
4457
+ }
4458
+ /**
4459
+ * This component contains all the nodes and handles their dragging
4460
+ */
4461
+ export var GraphNodesContainer: React.FC<IGraphContainerProps>;
4462
+
4463
+
4464
+
4465
+ }
4466
+ declare module INSPECTOR {
4467
+
4468
+ }
4469
+ declare module INSPECTOR.SharedUIComponents {
4470
+ export type IVisualRecordsType = Record<string, {
4471
+ x: number;
4472
+ y: number;
4473
+ }>;
4474
+ export type IConnectionType = {
4475
+ id: string;
4476
+ sourceId: string;
4477
+ targetId: string;
4478
+ };
4479
+ export type ICustomDataType = {
4480
+ type: string;
4481
+ value: any;
4482
+ };
4483
+ export type INodeType = {
4484
+ id: string;
4485
+ label: string;
4486
+ customData?: ICustomDataType;
4487
+ };
4488
+ /**
4489
+ * props for the node renderer
4490
+ */
4491
+ export interface INodeRendererProps {
4492
+ /**
4493
+ * array of connections between nodes
4494
+ */
4495
+ connections: IConnectionType[];
4496
+ /**
4497
+ * function called when a new connection is created
4498
+ */
4499
+ updateConnections: (sourceId: string, targetId: string) => void;
4500
+ /**
4501
+ * function called when a connection is deleted
4502
+ */
4503
+ deleteLine: (lineId: string) => void;
4504
+ /**
4505
+ * function called when a node is deleted
4506
+ */
4507
+ deleteNode: (nodeId: string) => void;
4508
+ /**
4509
+ * array of all nodes
4510
+ */
4511
+ nodes: INodeType[];
4512
+ /**
4513
+ * id of the node to highlight
4514
+ */
4515
+ highlightedNode?: BABYLON.Nullable<string>;
4516
+ /**
4517
+ * function to be called if a node is selected
4518
+ */
4519
+ selectNode?: (nodeId: BABYLON.Nullable<string>) => void;
4520
+ /**
4521
+ * id of this renderer
4522
+ */
4523
+ id: string;
4524
+ /**
4525
+ * optional list of custom components to be rendered inside nodes of
4526
+ * a certain type
4527
+ */
4528
+ customComponents?: Record<string, React.ComponentType<any>>;
4529
+ }
4530
+ /**
4531
+ * This component is a bridge between the app logic related to the graph, and the actual rendering
4532
+ * of it. It manages the nodes' positions and selection states.
4533
+ * @param props
4534
+ * @returns
4535
+ */
4536
+ export const NodeRenderer: (props: INodeRendererProps) => JSX.Element;
4537
+
4538
+
4539
+
4540
+ }
4541
+ declare module INSPECTOR {
4542
+
4543
+ }
4544
+ declare module INSPECTOR.SharedUIComponents {
4545
+ /**
4546
+ * utility hook to assist using the graph context
4547
+ * @returns
4548
+ */
4549
+ export const useGraphContext: () => IGraphContext;
4550
+
4551
+
4552
+
4274
4553
  }
4275
4554
  declare module INSPECTOR {
4276
4555
 
@@ -5151,6 +5151,248 @@ export interface MessageDialogProps {
5151
5151
  }
5152
5152
  export const MessageDialog: React.FC<MessageDialogProps>;
5153
5153
 
5154
+ }
5155
+ declare module "babylonjs-inspector/components/reactGraphSystem/GraphConnectorHandle" {
5156
+ import { FC } from "react";
5157
+ /**
5158
+ * Props for the connector
5159
+ */
5160
+ export interface IGraphConnectorHandlerProps {
5161
+ /**
5162
+ * id of the parent node
5163
+ */
5164
+ parentId: string;
5165
+ /**
5166
+ * x position of the parent node
5167
+ */
5168
+ parentX: number;
5169
+ /**
5170
+ * y position of the parent node
5171
+ */
5172
+ parentY: number;
5173
+ /**
5174
+ * x position of the connector relative to the parent node
5175
+ */
5176
+ offsetX?: number;
5177
+ /**
5178
+ * y position of the connector relative to the parent node
5179
+ */
5180
+ offsetY?: number;
5181
+ /**
5182
+ * width of the parent node
5183
+ */
5184
+ parentWidth: number;
5185
+ /**
5186
+ * height of the parent node
5187
+ */
5188
+ parentHeight: number;
5189
+ /**
5190
+ * id of the container where its parent node is
5191
+ */
5192
+ parentContainerId: string;
5193
+ }
5194
+ /**
5195
+ * This component is used to initiate a connection between two nodes. Simply
5196
+ * drag the handle in a node and drop it in another node to create a connection.
5197
+ */
5198
+ export const GraphConnectorHandler: FC<IGraphConnectorHandlerProps>;
5199
+
5200
+ }
5201
+ declare module "babylonjs-inspector/components/reactGraphSystem/GraphContainer" {
5202
+ import { FC } from "react";
5203
+ export interface IGraphContainerProps {
5204
+ }
5205
+ /**
5206
+ * This component is just a simple container to keep the nodes and lines containers
5207
+ * together
5208
+ * @param props
5209
+ * @returns
5210
+ */
5211
+ export const GraphContainer: FC<IGraphContainerProps>;
5212
+
5213
+ }
5214
+ declare module "babylonjs-inspector/components/reactGraphSystem/GraphContextManager" {
5215
+ /// <reference types="react" />
5216
+ /**
5217
+ * this context is used to pass callbacks to the graph nodes and connections
5218
+ */
5219
+ export interface IGraphContext {
5220
+ onNodesConnected?: (sourceId: string, targetId: string) => void;
5221
+ onLineSelected?: (lineId: string) => void;
5222
+ onNodeSelected?: (nodeId: string) => void;
5223
+ }
5224
+ export const GraphContextManager: import("react").Context<IGraphContext>;
5225
+
5226
+ }
5227
+ declare module "babylonjs-inspector/components/reactGraphSystem/GraphLine" {
5228
+ import { FC } from "react";
5229
+ /**
5230
+ * props for the GraphLine component
5231
+ */
5232
+ export interface IGraphLineProps {
5233
+ /**
5234
+ * id of the line. temporary lines can have no id
5235
+ */
5236
+ id?: string;
5237
+ /**
5238
+ * starting x pos of the line
5239
+ */
5240
+ x1: number;
5241
+ /**
5242
+ * ending x pos of the line
5243
+ */
5244
+ x2: number;
5245
+ /**
5246
+ * starting y pos of the line
5247
+ */
5248
+ y1: number;
5249
+ /**
5250
+ * ending y pos of the line
5251
+ */
5252
+ y2: number;
5253
+ /**
5254
+ * is the line selected
5255
+ */
5256
+ selected?: boolean;
5257
+ /**
5258
+ * does the line have a direction
5259
+ */
5260
+ directional?: boolean;
5261
+ }
5262
+ export const MarkerArrowId = "arrow";
5263
+ /**
5264
+ * This component draws a SVG line between two points, with an optional marker
5265
+ * indicating direction
5266
+ */
5267
+ export const GraphLine: FC<IGraphLineProps>;
5268
+
5269
+ }
5270
+ declare module "babylonjs-inspector/components/reactGraphSystem/GraphLinesContainer" {
5271
+ import { FC } from "react";
5272
+ /**
5273
+ * props for the GraphLineContainer
5274
+ */
5275
+ export interface IGraphLinesContainerProps {
5276
+ /**
5277
+ * id of the container
5278
+ */
5279
+ id: string;
5280
+ }
5281
+ /**
5282
+ * this component handles the dragging of new connections
5283
+ * @param props
5284
+ * @returns
5285
+ */
5286
+ export const GraphLinesContainer: FC<IGraphLinesContainerProps>;
5287
+
5288
+ }
5289
+ declare module "babylonjs-inspector/components/reactGraphSystem/GraphNode" {
5290
+ import { FC } from "react";
5291
+ export interface IGraphNodeProps {
5292
+ id: string;
5293
+ name: string;
5294
+ x: number;
5295
+ y: number;
5296
+ selected?: boolean;
5297
+ width?: number;
5298
+ height?: number;
5299
+ highlighted?: boolean;
5300
+ parentContainerId: string;
5301
+ }
5302
+ export const GraphNode: FC<IGraphNodeProps>;
5303
+
5304
+ }
5305
+ declare module "babylonjs-inspector/components/reactGraphSystem/GraphNodesContainer" {
5306
+ import { FC } from "react";
5307
+ export interface IGraphContainerProps {
5308
+ onNodeMoved: (id: string, x: number, y: number) => void;
5309
+ id: string;
5310
+ }
5311
+ /**
5312
+ * This component contains all the nodes and handles their dragging
5313
+ */
5314
+ export const GraphNodesContainer: FC<IGraphContainerProps>;
5315
+
5316
+ }
5317
+ declare module "babylonjs-inspector/components/reactGraphSystem/NodeRenderer" {
5318
+ import { ComponentType } from "react";
5319
+ import { Nullable } from "babylonjs/types";
5320
+ export type IVisualRecordsType = Record<string, {
5321
+ x: number;
5322
+ y: number;
5323
+ }>;
5324
+ export type IConnectionType = {
5325
+ id: string;
5326
+ sourceId: string;
5327
+ targetId: string;
5328
+ };
5329
+ export type ICustomDataType = {
5330
+ type: string;
5331
+ value: any;
5332
+ };
5333
+ export type INodeType = {
5334
+ id: string;
5335
+ label: string;
5336
+ customData?: ICustomDataType;
5337
+ };
5338
+ /**
5339
+ * props for the node renderer
5340
+ */
5341
+ export interface INodeRendererProps {
5342
+ /**
5343
+ * array of connections between nodes
5344
+ */
5345
+ connections: IConnectionType[];
5346
+ /**
5347
+ * function called when a new connection is created
5348
+ */
5349
+ updateConnections: (sourceId: string, targetId: string) => void;
5350
+ /**
5351
+ * function called when a connection is deleted
5352
+ */
5353
+ deleteLine: (lineId: string) => void;
5354
+ /**
5355
+ * function called when a node is deleted
5356
+ */
5357
+ deleteNode: (nodeId: string) => void;
5358
+ /**
5359
+ * array of all nodes
5360
+ */
5361
+ nodes: INodeType[];
5362
+ /**
5363
+ * id of the node to highlight
5364
+ */
5365
+ highlightedNode?: Nullable<string>;
5366
+ /**
5367
+ * function to be called if a node is selected
5368
+ */
5369
+ selectNode?: (nodeId: Nullable<string>) => void;
5370
+ /**
5371
+ * id of this renderer
5372
+ */
5373
+ id: string;
5374
+ /**
5375
+ * optional list of custom components to be rendered inside nodes of
5376
+ * a certain type
5377
+ */
5378
+ customComponents?: Record<string, ComponentType<any>>;
5379
+ }
5380
+ /**
5381
+ * This component is a bridge between the app logic related to the graph, and the actual rendering
5382
+ * of it. It manages the nodes' positions and selection states.
5383
+ * @param props
5384
+ * @returns
5385
+ */
5386
+ export const NodeRenderer: (props: INodeRendererProps) => JSX.Element;
5387
+
5388
+ }
5389
+ declare module "babylonjs-inspector/components/reactGraphSystem/useGraphContext" {
5390
+ /**
5391
+ * utility hook to assist using the graph context
5392
+ * @returns
5393
+ */
5394
+ export const useGraphContext: () => import("babylonjs-inspector/components/reactGraphSystem/GraphContextManager").IGraphContext;
5395
+
5154
5396
  }
5155
5397
  declare module "babylonjs-inspector/components/TextInputWithSubmit" {
5156
5398
  /// <reference types="react" />
@@ -11355,6 +11597,285 @@ declare module INSPECTOR.SharedUIComponents {
11355
11597
 
11356
11598
 
11357
11599
 
11600
+ }
11601
+ declare module INSPECTOR {
11602
+
11603
+ }
11604
+ declare module INSPECTOR.SharedUIComponents {
11605
+ /**
11606
+ * Props for the connector
11607
+ */
11608
+ export interface IGraphConnectorHandlerProps {
11609
+ /**
11610
+ * id of the parent node
11611
+ */
11612
+ parentId: string;
11613
+ /**
11614
+ * x position of the parent node
11615
+ */
11616
+ parentX: number;
11617
+ /**
11618
+ * y position of the parent node
11619
+ */
11620
+ parentY: number;
11621
+ /**
11622
+ * x position of the connector relative to the parent node
11623
+ */
11624
+ offsetX?: number;
11625
+ /**
11626
+ * y position of the connector relative to the parent node
11627
+ */
11628
+ offsetY?: number;
11629
+ /**
11630
+ * width of the parent node
11631
+ */
11632
+ parentWidth: number;
11633
+ /**
11634
+ * height of the parent node
11635
+ */
11636
+ parentHeight: number;
11637
+ /**
11638
+ * id of the container where its parent node is
11639
+ */
11640
+ parentContainerId: string;
11641
+ }
11642
+ /**
11643
+ * This component is used to initiate a connection between two nodes. Simply
11644
+ * drag the handle in a node and drop it in another node to create a connection.
11645
+ */
11646
+ export var GraphConnectorHandler: React.FC<IGraphConnectorHandlerProps>;
11647
+
11648
+
11649
+
11650
+ }
11651
+ declare module INSPECTOR {
11652
+
11653
+ }
11654
+ declare module INSPECTOR.SharedUIComponents {
11655
+ export interface IGraphContainerProps {
11656
+ }
11657
+ /**
11658
+ * This component is just a simple container to keep the nodes and lines containers
11659
+ * together
11660
+ * @param props
11661
+ * @returns
11662
+ */
11663
+ export var GraphContainer: React.FC<IGraphContainerProps>;
11664
+
11665
+
11666
+
11667
+ }
11668
+ declare module INSPECTOR {
11669
+
11670
+ }
11671
+ declare module INSPECTOR.SharedUIComponents {
11672
+ /// <reference types="react" />
11673
+ /**
11674
+ * this context is used to pass callbacks to the graph nodes and connections
11675
+ */
11676
+ export interface IGraphContext {
11677
+ onNodesConnected?: (sourceId: string, targetId: string) => void;
11678
+ onLineSelected?: (lineId: string) => void;
11679
+ onNodeSelected?: (nodeId: string) => void;
11680
+ }
11681
+ export var GraphContextManager: import("react").Context<IGraphContext>;
11682
+
11683
+
11684
+
11685
+ }
11686
+ declare module INSPECTOR {
11687
+
11688
+ }
11689
+ declare module INSPECTOR.SharedUIComponents {
11690
+ /**
11691
+ * props for the GraphLine component
11692
+ */
11693
+ export interface IGraphLineProps {
11694
+ /**
11695
+ * id of the line. temporary lines can have no id
11696
+ */
11697
+ id?: string;
11698
+ /**
11699
+ * starting x pos of the line
11700
+ */
11701
+ x1: number;
11702
+ /**
11703
+ * ending x pos of the line
11704
+ */
11705
+ x2: number;
11706
+ /**
11707
+ * starting y pos of the line
11708
+ */
11709
+ y1: number;
11710
+ /**
11711
+ * ending y pos of the line
11712
+ */
11713
+ y2: number;
11714
+ /**
11715
+ * is the line selected
11716
+ */
11717
+ selected?: boolean;
11718
+ /**
11719
+ * does the line have a direction
11720
+ */
11721
+ directional?: boolean;
11722
+ }
11723
+ export const MarkerArrowId = "arrow";
11724
+ /**
11725
+ * This component draws a SVG line between two points, with an optional marker
11726
+ * indicating direction
11727
+ */
11728
+ export var GraphLine: React.FC<IGraphLineProps>;
11729
+
11730
+
11731
+
11732
+ }
11733
+ declare module INSPECTOR {
11734
+
11735
+ }
11736
+ declare module INSPECTOR.SharedUIComponents {
11737
+ /**
11738
+ * props for the GraphLineContainer
11739
+ */
11740
+ export interface IGraphLinesContainerProps {
11741
+ /**
11742
+ * id of the container
11743
+ */
11744
+ id: string;
11745
+ }
11746
+ /**
11747
+ * this component handles the dragging of new connections
11748
+ * @param props
11749
+ * @returns
11750
+ */
11751
+ export var GraphLinesContainer: React.FC<IGraphLinesContainerProps>;
11752
+
11753
+
11754
+
11755
+ }
11756
+ declare module INSPECTOR {
11757
+
11758
+ }
11759
+ declare module INSPECTOR.SharedUIComponents {
11760
+ export interface IGraphNodeProps {
11761
+ id: string;
11762
+ name: string;
11763
+ x: number;
11764
+ y: number;
11765
+ selected?: boolean;
11766
+ width?: number;
11767
+ height?: number;
11768
+ highlighted?: boolean;
11769
+ parentContainerId: string;
11770
+ }
11771
+ export var GraphNode: React.FC<IGraphNodeProps>;
11772
+
11773
+
11774
+
11775
+ }
11776
+ declare module INSPECTOR {
11777
+
11778
+ }
11779
+ declare module INSPECTOR.SharedUIComponents {
11780
+ export interface IGraphContainerProps {
11781
+ onNodeMoved: (id: string, x: number, y: number) => void;
11782
+ id: string;
11783
+ }
11784
+ /**
11785
+ * This component contains all the nodes and handles their dragging
11786
+ */
11787
+ export var GraphNodesContainer: React.FC<IGraphContainerProps>;
11788
+
11789
+
11790
+
11791
+ }
11792
+ declare module INSPECTOR {
11793
+
11794
+ }
11795
+ declare module INSPECTOR.SharedUIComponents {
11796
+ export type IVisualRecordsType = Record<string, {
11797
+ x: number;
11798
+ y: number;
11799
+ }>;
11800
+ export type IConnectionType = {
11801
+ id: string;
11802
+ sourceId: string;
11803
+ targetId: string;
11804
+ };
11805
+ export type ICustomDataType = {
11806
+ type: string;
11807
+ value: any;
11808
+ };
11809
+ export type INodeType = {
11810
+ id: string;
11811
+ label: string;
11812
+ customData?: ICustomDataType;
11813
+ };
11814
+ /**
11815
+ * props for the node renderer
11816
+ */
11817
+ export interface INodeRendererProps {
11818
+ /**
11819
+ * array of connections between nodes
11820
+ */
11821
+ connections: IConnectionType[];
11822
+ /**
11823
+ * function called when a new connection is created
11824
+ */
11825
+ updateConnections: (sourceId: string, targetId: string) => void;
11826
+ /**
11827
+ * function called when a connection is deleted
11828
+ */
11829
+ deleteLine: (lineId: string) => void;
11830
+ /**
11831
+ * function called when a node is deleted
11832
+ */
11833
+ deleteNode: (nodeId: string) => void;
11834
+ /**
11835
+ * array of all nodes
11836
+ */
11837
+ nodes: INodeType[];
11838
+ /**
11839
+ * id of the node to highlight
11840
+ */
11841
+ highlightedNode?: BABYLON.Nullable<string>;
11842
+ /**
11843
+ * function to be called if a node is selected
11844
+ */
11845
+ selectNode?: (nodeId: BABYLON.Nullable<string>) => void;
11846
+ /**
11847
+ * id of this renderer
11848
+ */
11849
+ id: string;
11850
+ /**
11851
+ * optional list of custom components to be rendered inside nodes of
11852
+ * a certain type
11853
+ */
11854
+ customComponents?: Record<string, React.ComponentType<any>>;
11855
+ }
11856
+ /**
11857
+ * This component is a bridge between the app logic related to the graph, and the actual rendering
11858
+ * of it. It manages the nodes' positions and selection states.
11859
+ * @param props
11860
+ * @returns
11861
+ */
11862
+ export const NodeRenderer: (props: INodeRendererProps) => JSX.Element;
11863
+
11864
+
11865
+
11866
+ }
11867
+ declare module INSPECTOR {
11868
+
11869
+ }
11870
+ declare module INSPECTOR.SharedUIComponents {
11871
+ /**
11872
+ * utility hook to assist using the graph context
11873
+ * @returns
11874
+ */
11875
+ export const useGraphContext: () => IGraphContext;
11876
+
11877
+
11878
+
11358
11879
  }
11359
11880
  declare module INSPECTOR {
11360
11881
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-inspector",
3
- "version": "5.32.0",
3
+ "version": "5.32.2",
4
4
  "main": "babylon.inspector.bundle.max.js",
5
5
  "types": "babylon.inspector.module.d.ts",
6
6
  "files": [
@@ -14,12 +14,12 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.*"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^5.32.0",
18
- "babylonjs-gui": "^5.32.0",
19
- "babylonjs-gui-editor": "^5.32.0",
20
- "babylonjs-loaders": "^5.32.0",
21
- "babylonjs-materials": "^5.32.0",
22
- "babylonjs-serializers": "^5.32.0"
17
+ "babylonjs": "^5.32.2",
18
+ "babylonjs-gui": "^5.32.2",
19
+ "babylonjs-gui-editor": "^5.32.2",
20
+ "babylonjs-loaders": "^5.32.2",
21
+ "babylonjs-materials": "^5.32.2",
22
+ "babylonjs-serializers": "^5.32.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@dev/build-tools": "1.0.0",
package/readme.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Babylon.js inspector module
2
2
  =====================
3
3
 
4
- For usage documentation please visit http://doc.babylonjs.com/how_to/debug_layer.
4
+ For usage documentation please visit https://doc.babylonjs.com/how_to/debug_layer.
5
5
 
6
6
  # Installation instructions
7
7