Vanessa 2025-06-29 11:33:22 +08:00
parent ff4344ba40
commit 4c6da71be9
2 changed files with 5 additions and 20 deletions

View file

@ -568,7 +568,7 @@ export class Graph extends Model {
item.color = {color: rootStyle.getPropertyValue("--b3-graph-line").trim()};
}
});
addScript(`${Constants.PROTYLE_CDN}/js/vis/vis-network.min.js?v=9.1.2`, "protyleVisScript").then(() => {
addScript(`${Constants.PROTYLE_CDN}/js/vis/vis-network.min.js?v=9.1.13`, "protyleVisScript").then(() => {
this.network?.destroy();
if (!this.graphData || !this.graphData.nodes || this.graphData.nodes.length === 0) {
return;

File diff suppressed because one or more lines are too long