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 你需要在初始化的时候创建所有可能用到的节点类型

持续更新中。。。。

猜你喜欢

转载自blog.csdn.net/wangweiren_get/article/details/83045337
今日推荐