# gg-editor
**Repository Path**: programmerry/gg-editor
## Basic Information
- **Project Name**: gg-editor
- **Description**: 基于 G6 和 React 的可视化图编辑器
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: http://ggeditor.com/
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 73
- **Created**: 2018-09-07
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[English](README.md) | 简体中文
# GGEditor
 [](https://github.com/gaoli/gg-editor/blob/master/LICENSE)
[](https://www.npmjs.com/package/gg-editor)
[](https://www.npmjs.com/package/gg-editor)
基于 [G6](https://github.com/antvis/g6) 和 [React](https://github.com/facebook/react) 的可视化图编辑器
## 演示
[流程图](http://ggeditor.com/demo/#/flow)
[](http://ggeditor.com/demo/#/flow)
[思维导图](http://ggeditor.com/demo/#/mind)
[](http://ggeditor.com/demo/#/mind)
## 安装
### npm
```sh
npm install --save gg-editor
```
### umd
```html
```
## 快速开始
### 流程图
```jsx
import GGEditor, { Flow } from 'gg-editor';
const data = {
nodes: [],
edges: [],
};
```
### 思维导图
```jsx
import GGEditor, { Mind } from 'gg-editor';
const data = {
roots: [{
label: '',
children: [{
label: '',
}],
}],
};
```
## 文档
* [API](/docs/README.zh-CN.md#api)
## 钉钉交流
[
](https://qr.dingtalk.com/action/joingroup?code=v1,k1,KWj9Iev99l7EahXdG4vcriMmqu1rgWjRuk3SomhDATY=&_dt_no_comment=1&origin=11)