Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

flow.read 异步读取数据 #1

Closed
zhaodongyu opened this issue Jun 6, 2018 · 1 comment
Closed

flow.read 异步读取数据 #1

zhaodongyu opened this issue Jun 6, 2018 · 1 comment

Comments

@zhaodongyu
Copy link

实例化 Flow 对象后,如果异步读取流程数据,会造成画布上的内容和 minimap 上面的内容不同。

image

image

@zoii
Copy link

zoii commented Jun 14, 2018

@zhaodongyu
g6-editor/demos/rc-components/Editor.jsx
g6-editor/demos/rc-components/ModelFlowEditor.jsx

看看是不是可以参考这两个组件的写法,等数据加载完成后再去执行需要的 editor.add(....);
我是这样用的。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants