babylonjs-node-geometry-editor 7.26.0 → 7.26.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.
|
@@ -1645,6 +1645,8 @@ export class NodeLink {
|
|
|
1645
1645
|
get nodeB(): GraphNode | undefined;
|
|
1646
1646
|
intersectsWith(rect: DOMRect): boolean;
|
|
1647
1647
|
update(endX?: number, endY?: number, straight?: boolean): void;
|
|
1648
|
+
get path(): SVGPathElement;
|
|
1649
|
+
get selectionPath(): SVGPathElement;
|
|
1648
1650
|
constructor(graphCanvas: GraphCanvasComponent, portA: NodePort, nodeA: GraphNode, portB?: NodePort, nodeB?: GraphNode);
|
|
1649
1651
|
onClick(evt: MouseEvent): void;
|
|
1650
1652
|
dispose(notify?: boolean): void;
|
|
@@ -1725,6 +1727,7 @@ export class GraphNode {
|
|
|
1725
1727
|
set enclosingFrameId(value: number);
|
|
1726
1728
|
set isSelected(value: boolean);
|
|
1727
1729
|
setIsSelected(value: boolean, marqueeSelection: boolean): void;
|
|
1730
|
+
get rootElement(): HTMLDivElement;
|
|
1728
1731
|
constructor(content: INodeData, stateManager: StateManager);
|
|
1729
1732
|
isOverlappingFrame(frame: GraphFrame): boolean;
|
|
1730
1733
|
getPortForPortData(portData: IPortData): NodePort | null;
|
|
@@ -1775,6 +1778,7 @@ export class GraphFrame {
|
|
|
1775
1778
|
private _headerTextElement;
|
|
1776
1779
|
private _headerCollapseElement;
|
|
1777
1780
|
private _headerCloseElement;
|
|
1781
|
+
private _headerFocusElement;
|
|
1778
1782
|
private _commentsElement;
|
|
1779
1783
|
private _portContainer;
|
|
1780
1784
|
private _outputPortContainer;
|
|
@@ -1804,6 +1808,7 @@ export class GraphFrame {
|
|
|
1804
1808
|
private readonly _closeSVG;
|
|
1805
1809
|
private readonly _expandSVG;
|
|
1806
1810
|
private readonly _collapseSVG;
|
|
1811
|
+
private readonly _focusSVG;
|
|
1807
1812
|
get id(): number;
|
|
1808
1813
|
get isCollapsed(): boolean;
|
|
1809
1814
|
private _createInputPort;
|
|
@@ -1832,6 +1837,11 @@ export class GraphFrame {
|
|
|
1832
1837
|
get comments(): string;
|
|
1833
1838
|
set comments(comments: string);
|
|
1834
1839
|
constructor(candidate: Nullable<HTMLDivElement>, canvas: GraphCanvasComponent, doNotCaptureNodes?: boolean);
|
|
1840
|
+
private _isFocused;
|
|
1841
|
+
/**
|
|
1842
|
+
* Enter/leave focus mode
|
|
1843
|
+
*/
|
|
1844
|
+
switchFocusMode(): void;
|
|
1835
1845
|
refresh(): void;
|
|
1836
1846
|
addNode(node: GraphNode): void;
|
|
1837
1847
|
removeNode(node: GraphNode): void;
|
|
@@ -5578,6 +5588,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5578
5588
|
get nodeB(): BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode | undefined;
|
|
5579
5589
|
intersectsWith(rect: DOMRect): boolean;
|
|
5580
5590
|
update(endX?: number, endY?: number, straight?: boolean): void;
|
|
5591
|
+
get path(): SVGPathElement;
|
|
5592
|
+
get selectionPath(): SVGPathElement;
|
|
5581
5593
|
constructor(graphCanvas: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphCanvasComponent, portA: BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode, portB?: BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB?: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode);
|
|
5582
5594
|
onClick(evt: MouseEvent): void;
|
|
5583
5595
|
dispose(notify?: boolean): void;
|
|
@@ -5662,6 +5674,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5662
5674
|
set enclosingFrameId(value: number);
|
|
5663
5675
|
set isSelected(value: boolean);
|
|
5664
5676
|
setIsSelected(value: boolean, marqueeSelection: boolean): void;
|
|
5677
|
+
get rootElement(): HTMLDivElement;
|
|
5665
5678
|
constructor(content: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeData, stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager);
|
|
5666
5679
|
isOverlappingFrame(frame: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame): boolean;
|
|
5667
5680
|
getPortForPortData(portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData): BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort | null;
|
|
@@ -5711,6 +5724,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5711
5724
|
private _headerTextElement;
|
|
5712
5725
|
private _headerCollapseElement;
|
|
5713
5726
|
private _headerCloseElement;
|
|
5727
|
+
private _headerFocusElement;
|
|
5714
5728
|
private _commentsElement;
|
|
5715
5729
|
private _portContainer;
|
|
5716
5730
|
private _outputPortContainer;
|
|
@@ -5740,6 +5754,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5740
5754
|
private readonly _closeSVG;
|
|
5741
5755
|
private readonly _expandSVG;
|
|
5742
5756
|
private readonly _collapseSVG;
|
|
5757
|
+
private readonly _focusSVG;
|
|
5743
5758
|
get id(): number;
|
|
5744
5759
|
get isCollapsed(): boolean;
|
|
5745
5760
|
private _createInputPort;
|
|
@@ -5768,6 +5783,11 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5768
5783
|
get comments(): string;
|
|
5769
5784
|
set comments(comments: string);
|
|
5770
5785
|
constructor(candidate: BABYLON.Nullable<HTMLDivElement>, canvas: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphCanvasComponent, doNotCaptureNodes?: boolean);
|
|
5786
|
+
private _isFocused;
|
|
5787
|
+
/**
|
|
5788
|
+
* Enter/leave focus mode
|
|
5789
|
+
*/
|
|
5790
|
+
switchFocusMode(): void;
|
|
5771
5791
|
refresh(): void;
|
|
5772
5792
|
addNode(node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode): void;
|
|
5773
5793
|
removeNode(node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "7.26.
|
|
3
|
+
"version": "7.26.2",
|
|
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.26.
|
|
17
|
+
"babylonjs": "^7.26.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"react": "^17.0.2",
|
|
27
27
|
"react-contextmenu": "RaananW/react-contextmenu",
|
|
28
28
|
"react-dom": "^17.0.2",
|
|
29
|
-
"sass-loader": "^
|
|
29
|
+
"sass-loader": "^16.0.0",
|
|
30
30
|
"source-map-loader": "^4.0.0",
|
|
31
31
|
"ts-loader": "^9.2.6",
|
|
32
32
|
"webpack": "^5.73.0",
|