From 98f16a373d3ac5355ef7ebb7d42521392d1cb475 Mon Sep 17 00:00:00 2001 From: zhandouxiaojiji Date: Fri, 30 Oct 2020 17:05:31 +0800 Subject: [PATCH] disable load animate --- render-process/Editor/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/render-process/Editor/index.tsx b/render-process/Editor/index.tsx index 323a1c7..42d35d5 100644 --- a/render-process/Editor/index.tsx +++ b/render-process/Editor/index.tsx @@ -42,7 +42,7 @@ export default class Editor extends React.Component { container: this.ref.current, width: window.screen.width * 0.66, height: window.screen.height, - animate: true, + animate: false, // fitCenter: true, modes: { default: [ @@ -254,6 +254,7 @@ export default class Editor extends React.Component { graph.data(data); graph.render(); graph.fitCenter(); + graph.set('animate', true); this.graph = graph;