1. 程式人生 > >React 流程圖的一種解決方案 GGEditor

React 流程圖的一種解決方案 GGEditor

要實現型別下圖的需求,所以研究了一些g6 editor

 

瞭解連結:
https://antvis.github.io/g6/api/graph.html g6文件

https://www.yuque.com/antv/g6/api-graph g6

https://www.yuque.com/antv/g6-editor/flow-api#6s4tgd

http://ggeditor.com/

https://github.com/antvis/g
github 地址 https://github.com/gaoli/GGEditor

效果展示地址
https://antv.alipay.com/assets/dist/3.0.0/g6/1.x/editor/model-flow.html


 

參照程式碼地址 https://github.com/antvis/g6-editor

 

遇到一些問題

// GGEditor 的 RegisterNode 並不是會動態更新的。比如說錨點author
// RegisterNode 只在初始化起作用 so 你需要在初始化的時候建立所有可能用到的節點型別

 

持續更新中。。。。