diff --git a/src/neovis.ts b/src/neovis.ts index feb245b..8ccf3f6 100644 --- a/src/neovis.ts +++ b/src/neovis.ts @@ -503,6 +503,9 @@ export class NeoVis { this.#consoleLog(this.#data.edges); this.#network = new vis.Network(container, this.#data, options); + } else { + const options = deepmerge(defaults.visJs, this.#config.visConfig ?? {}); + this.#network.setOptions(options); } this.#consoleLog('completed'); setTimeout(