diff --git a/src/Codeblocks.ts b/src/Codeblocks.ts index 0b564fda..f3827ad0 100644 --- a/src/Codeblocks.ts +++ b/src/Codeblocks.ts @@ -292,7 +292,6 @@ class BCStore extends Component implements ICoreDataStore { allNodes.map((node) => this.asString(node)).filter((s) => s) ); newNodes.forEach((node) => { - console.log({ node }); this.graph.forEachOutEdge( this.asString(node), (key, attr, source, target) => { @@ -378,7 +377,7 @@ function createJuggl( console.log({ args }, { initialNodes }); const juggl = jugglPlugin.createJuggl(target, args, stores, initialNodes); plugin.addChild(juggl); - juggl.load(); + // juggl.load(); console.log({ juggl }); } catch (error) { console.log({ error }); diff --git a/src/main.ts b/src/main.ts index a346425e..1c6a61c7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -65,7 +65,7 @@ export default class BCPlugin extends Plugin { registerLayoutChangeEvent() { this.layoutChange = this.app.workspace.on("layout-change", async () => { - if (this.settings.showBCs) await drawTrail(this); + // if (this.settings.showBCs) await drawTrail(this); }); this.registerEvent(this.layoutChange); }