diff --git a/src/LGraph.ts b/src/LGraph.ts index a66513e75..896633e73 100644 --- a/src/LGraph.ts +++ b/src/LGraph.ts @@ -1680,8 +1680,4 @@ export class LGraph implements LinkNetwork, Serialisable { console.error("Error loading graph:", err) } } - - onNodeTrace(node?: LGraphNode, msg?: string) { - // TODO - } } diff --git a/src/LGraphNode.ts b/src/LGraphNode.ts index f0ff2f167..dbd20c4c6 100644 --- a/src/LGraphNode.ts +++ b/src/LGraphNode.ts @@ -2711,8 +2711,6 @@ export class LGraphNode implements Positionable, IPinnable, IColorable { this.console.push(msg) if (this.console.length > LGraphNode.MAX_CONSOLE) this.console.shift() - - this.graph.onNodeTrace?.(this, msg) } /* Forces to redraw or the main canvas (LGraphNode) or the bg canvas (links) */