# gg-editor
**Repository Path**: rxtech/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-10
- **Last Updated**: 2022-06-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
English | [简体中文](README.zh-CN.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)
A visual graph editor based on [G6](https://github.com/antvis/g6) and [React](https://github.com/facebook/react).
## Demo
[Flow](http://ggeditor.com/demo/#/flow)
[](http://ggeditor.com/demo/#/flow)
[Mind](http://ggeditor.com/demo/#/mind)
[](http://ggeditor.com/demo/#/mind)
## Installation
### npm
```sh
npm install --save gg-editor
```
### umd
```html
```
## Usage
### Flow
```jsx
import GGEditor, { Flow } from 'gg-editor';
const data = {
nodes: [],
edges: [],
};
```
### Mind
```jsx
import GGEditor, { Mind } from 'gg-editor';
const data = {
roots: [{
label: '',
children: [{
label: '',
}],
}],
};
```
## Documentation
* [API](/docs/README.md#api)
## DingTalk Group
[
](https://qr.dingtalk.com/action/joingroup?code=v1,k1,KWj9Iev99l7EahXdG4vcriMmqu1rgWjRuk3SomhDATY=&_dt_no_comment=1&origin=11)