GGEditor 介绍
GGEditor
演示
安装
npm
npm install --save gg-editor
umd
run demo
$ git clone https://github.com/gaoli/GGEditor.git $ cd gg-editor $ npm install $ npm start
快速开始
流程图
import GGEditor, { Flow } from 'gg-editor'; const data = { nodes: [{ type: 'node', size: '70*70', shape: 'flow-circle', color: '#FA8C16', label: '起止节点', x: 55, y: 55, id: 'ea1184e8', index: 0, }, { type: 'node', size: '70*70', shape: 'flow-circle', color: '#FA8C16', label: '结束节点', x: 55, y: 255, id: '481fbb1a', index: 2, }], edges: [{ source: 'ea1184e8', sourceAnchor: 2, target: '481fbb1a', targetAnchor: 0, id: '7989ac70', index: 1, }], };
思维导图
import GGEditor, { Mind } from 'gg-editor'; const data = { roots: [{ label: '中心主题', children: [{ label: '分支主题 1', }, { label: '分支主题 2', }, { label: '分支主题 3', }], }], };
文档
钉钉交流
GGEditor 官网
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。