babylonjs-node-geometry-editor 7.26.0 → 7.26.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.
@@ -1374,6 +1374,8 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1374
1374
  get nodeB(): BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode | undefined;
1375
1375
  intersectsWith(rect: DOMRect): boolean;
1376
1376
  update(endX?: number, endY?: number, straight?: boolean): void;
1377
+ get path(): SVGPathElement;
1378
+ get selectionPath(): SVGPathElement;
1377
1379
  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);
1378
1380
  onClick(evt: MouseEvent): void;
1379
1381
  dispose(notify?: boolean): void;
@@ -1458,6 +1460,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1458
1460
  set enclosingFrameId(value: number);
1459
1461
  set isSelected(value: boolean);
1460
1462
  setIsSelected(value: boolean, marqueeSelection: boolean): void;
1463
+ get rootElement(): HTMLDivElement;
1461
1464
  constructor(content: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeData, stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager);
1462
1465
  isOverlappingFrame(frame: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame): boolean;
1463
1466
  getPortForPortData(portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData): BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort | null;
@@ -1507,6 +1510,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1507
1510
  private _headerTextElement;
1508
1511
  private _headerCollapseElement;
1509
1512
  private _headerCloseElement;
1513
+ private _headerFocusElement;
1510
1514
  private _commentsElement;
1511
1515
  private _portContainer;
1512
1516
  private _outputPortContainer;
@@ -1536,6 +1540,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1536
1540
  private readonly _closeSVG;
1537
1541
  private readonly _expandSVG;
1538
1542
  private readonly _collapseSVG;
1543
+ private readonly _focusSVG;
1539
1544
  get id(): number;
1540
1545
  get isCollapsed(): boolean;
1541
1546
  private _createInputPort;
@@ -1564,6 +1569,11 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1564
1569
  get comments(): string;
1565
1570
  set comments(comments: string);
1566
1571
  constructor(candidate: BABYLON.Nullable<HTMLDivElement>, canvas: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphCanvasComponent, doNotCaptureNodes?: boolean);
1572
+ private _isFocused;
1573
+ /**
1574
+ * Enter/leave focus mode
1575
+ */
1576
+ switchFocusMode(): void;
1567
1577
  refresh(): void;
1568
1578
  addNode(node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode): void;
1569
1579
  removeNode(node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode): void;