1 |
- {"ast":null,"code":"import { Tools } from \"../Misc/tools.js\";\n/**\n * @experimental\n * This class is a decorator for the context which logs the nodes that were executed.\n */\nexport class FlowGraphContextLogger {\n constructor(_context) {\n this._context = _context;\n this._context.onNodeExecutedObservable.add(node => {\n Tools.Log(`Node executed: ${node.getClassName()}`);\n });\n }\n}","map":{"version":3,"names":["Tools","FlowGraphContextLogger","constructor","_context","onNodeExecutedObservable","add","node","Log","getClassName"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/FlowGraph/flowGraphContextLogger.js"],"sourcesContent":["import { Tools } from \"../Misc/tools.js\";\n/**\n * @experimental\n * This class is a decorator for the context which logs the nodes that were executed.\n */\nexport class FlowGraphContextLogger {\n constructor(_context) {\n this._context = _context;\n this._context.onNodeExecutedObservable.add((node) => {\n Tools.Log(`Node executed: ${node.getClassName()}`);\n });\n }\n}\n"],"mappings":"AAAA,SAASA,KAAK,QAAQ,kBAAkB;AACxC;AACA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,CAAC;EAChCC,WAAWA,CAACC,QAAQ,EAAE;IAClB,IAAI,CAACA,QAAQ,GAAGA,QAAQ;IACxB,IAAI,CAACA,QAAQ,CAACC,wBAAwB,CAACC,GAAG,CAAEC,IAAI,IAAK;MACjDN,KAAK,CAACO,GAAG,CAAC,kBAAkBD,IAAI,CAACE,YAAY,CAAC,CAAC,EAAE,CAAC;IACtD,CAAC,CAAC;EACN;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|