babylonjs-node-geometry-editor 7.32.5 → 7.33.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.
|
@@ -1525,6 +1525,7 @@ export class NodePort {
|
|
|
1525
1525
|
portData: IPortData;
|
|
1526
1526
|
node: GraphNode;
|
|
1527
1527
|
protected _element: HTMLDivElement;
|
|
1528
|
+
protected _portContainer: HTMLElement;
|
|
1528
1529
|
protected _img: HTMLImageElement;
|
|
1529
1530
|
protected _pip: HTMLDivElement;
|
|
1530
1531
|
protected _stateManager: StateManager;
|
|
@@ -1534,6 +1535,7 @@ export class NodePort {
|
|
|
1534
1535
|
protected _exposedOnFrame: boolean;
|
|
1535
1536
|
delegatedPort: Nullable<FrameNodePort>;
|
|
1536
1537
|
get element(): HTMLDivElement;
|
|
1538
|
+
get container(): HTMLElement;
|
|
1537
1539
|
get portName(): string;
|
|
1538
1540
|
set portName(newName: string);
|
|
1539
1541
|
get disabled(): boolean;
|
|
@@ -1609,7 +1611,9 @@ export class GraphNode {
|
|
|
1609
1611
|
private _headerContainer;
|
|
1610
1612
|
private _headerIcon;
|
|
1611
1613
|
private _headerIconImg;
|
|
1614
|
+
private _headerCollapseImg;
|
|
1612
1615
|
private _header;
|
|
1616
|
+
private _headerCollapse;
|
|
1613
1617
|
private _connections;
|
|
1614
1618
|
private _optionsContainer;
|
|
1615
1619
|
private _inputsContainer;
|
|
@@ -1641,6 +1645,7 @@ export class GraphNode {
|
|
|
1641
1645
|
private _visualPropertiesRefresh;
|
|
1642
1646
|
addClassToVisual(className: string): void;
|
|
1643
1647
|
removeClassFromVisual(className: string): void;
|
|
1648
|
+
get isCollapsed(): boolean;
|
|
1644
1649
|
get isVisible(): boolean;
|
|
1645
1650
|
set isVisible(value: boolean);
|
|
1646
1651
|
private _upateNodePortNames;
|
|
@@ -1678,6 +1683,15 @@ export class GraphNode {
|
|
|
1678
1683
|
private _onMove;
|
|
1679
1684
|
renderProperties(): Nullable<JSX.Element>;
|
|
1680
1685
|
private _forceRebuild;
|
|
1686
|
+
private _isCollapsed;
|
|
1687
|
+
/**
|
|
1688
|
+
* Collapse the node
|
|
1689
|
+
*/
|
|
1690
|
+
collapse(): void;
|
|
1691
|
+
/**
|
|
1692
|
+
* Expand the node
|
|
1693
|
+
*/
|
|
1694
|
+
expand(): void;
|
|
1681
1695
|
appendVisual(root: HTMLDivElement, owner: GraphCanvasComponent): void;
|
|
1682
1696
|
dispose(): void;
|
|
1683
1697
|
}
|
|
@@ -2086,6 +2100,7 @@ export interface INodeLocationInfo {
|
|
|
2086
2100
|
blockId: number;
|
|
2087
2101
|
x: number;
|
|
2088
2102
|
y: number;
|
|
2103
|
+
isCollapsed: boolean;
|
|
2089
2104
|
}
|
|
2090
2105
|
export interface IFrameData {
|
|
2091
2106
|
x: number;
|
|
@@ -5467,6 +5482,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5467
5482
|
portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData;
|
|
5468
5483
|
node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode;
|
|
5469
5484
|
protected _element: HTMLDivElement;
|
|
5485
|
+
protected _portContainer: HTMLElement;
|
|
5470
5486
|
protected _img: HTMLImageElement;
|
|
5471
5487
|
protected _pip: HTMLDivElement;
|
|
5472
5488
|
protected _stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager;
|
|
@@ -5476,6 +5492,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5476
5492
|
protected _exposedOnFrame: boolean;
|
|
5477
5493
|
delegatedPort: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort>;
|
|
5478
5494
|
get element(): HTMLDivElement;
|
|
5495
|
+
get container(): HTMLElement;
|
|
5479
5496
|
get portName(): string;
|
|
5480
5497
|
set portName(newName: string);
|
|
5481
5498
|
get disabled(): boolean;
|
|
@@ -5556,7 +5573,9 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5556
5573
|
private _headerContainer;
|
|
5557
5574
|
private _headerIcon;
|
|
5558
5575
|
private _headerIconImg;
|
|
5576
|
+
private _headerCollapseImg;
|
|
5559
5577
|
private _header;
|
|
5578
|
+
private _headerCollapse;
|
|
5560
5579
|
private _connections;
|
|
5561
5580
|
private _optionsContainer;
|
|
5562
5581
|
private _inputsContainer;
|
|
@@ -5588,6 +5607,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5588
5607
|
private _visualPropertiesRefresh;
|
|
5589
5608
|
addClassToVisual(className: string): void;
|
|
5590
5609
|
removeClassFromVisual(className: string): void;
|
|
5610
|
+
get isCollapsed(): boolean;
|
|
5591
5611
|
get isVisible(): boolean;
|
|
5592
5612
|
set isVisible(value: boolean);
|
|
5593
5613
|
private _upateNodePortNames;
|
|
@@ -5625,6 +5645,15 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5625
5645
|
private _onMove;
|
|
5626
5646
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
5627
5647
|
private _forceRebuild;
|
|
5648
|
+
private _isCollapsed;
|
|
5649
|
+
/**
|
|
5650
|
+
* Collapse the node
|
|
5651
|
+
*/
|
|
5652
|
+
collapse(): void;
|
|
5653
|
+
/**
|
|
5654
|
+
* Expand the node
|
|
5655
|
+
*/
|
|
5656
|
+
expand(): void;
|
|
5628
5657
|
appendVisual(root: HTMLDivElement, owner: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphCanvasComponent): void;
|
|
5629
5658
|
dispose(): void;
|
|
5630
5659
|
}
|
|
@@ -6053,6 +6082,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
6053
6082
|
blockId: number;
|
|
6054
6083
|
x: number;
|
|
6055
6084
|
y: number;
|
|
6085
|
+
isCollapsed: boolean;
|
|
6056
6086
|
}
|
|
6057
6087
|
export interface IFrameData {
|
|
6058
6088
|
x: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.33.0",
|
|
4
4
|
"main": "babylon.nodeGeometryEditor.js",
|
|
5
5
|
"types": "babylon.nodeGeometryEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.
|
|
17
|
+
"babylonjs": "^7.33.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|