@babylonjs/node-render-graph-editor 9.5.1 → 9.6.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.
@@ -2031,8 +2031,9 @@ export class GraphNode {
2031
2031
  * Shows a validation badge on the node header.
2032
2032
  * @param severity - "error" | "warning" | null. Pass null to hide the badge.
2033
2033
  * @param tooltip - tooltip text shown on hover.
2034
+ * @param onClick - optional callback invoked when the badge is clicked.
2034
2035
  */
2035
- setValidationState(severity: "error" | "warning" | null, tooltip?: string): void;
2036
+ setValidationState(severity: "error" | "warning" | null, tooltip?: string, onClick?: () => void): void;
2036
2037
  /**
2037
2038
  * Shows or hides a breakpoint indicator on the node.
2038
2039
  * @param active - true to show the red breakpoint dot, false to hide.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-render-graph-editor",
3
- "version": "9.5.1",
3
+ "version": "9.6.0",
4
4
  "main": "dist/babylon.nodeRenderGraphEditor.js",
5
5
  "module": "dist/babylon.nodeRenderGraphEditor.js",
6
6
  "esnext": "dist/babylon.nodeRenderGraphEditor.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "9.5.1",
26
+ "@babylonjs/core": "9.6.0",
27
27
  "@tools/node-render-graph-editor": "1.0.0",
28
28
  "react": "^18.2.0",
29
29
  "react-dom": "^18.2.0"