diff --git a/src/Graph.ts b/src/Graph.ts index f21842f..1dfab3d 100644 --- a/src/Graph.ts +++ b/src/Graph.ts @@ -16,7 +16,6 @@ export let initGraph = function (codeBlocks: String[]) { container: document.getElementById('container'), width: 3000, height: 5000, - autoResize: true, background: { color: '#ffffff', // 设置画布背景颜色 }, diff --git a/src/main.ts b/src/main.ts index f325a82..9e45ba5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -40,7 +40,6 @@ export default class SourceCodeViewPlugin extends Plugin { if (activeFile == null) { return; } - // 處理文件內容 this.app.vault.process(activeFile, (data) => { @@ -68,7 +67,6 @@ export default class SourceCodeViewPlugin extends Plugin { } onunload() { - } }