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