To register a group.
G6 Custom Shape (Chinese) Tutorial
import GGEditor, { Flow, RegisterGroup } from 'gg-editor';
<GGEditor>
<Flow />
<RegisterGroup name={...} config={...} extend={...} />
</GGEditor>| Property | Description | Type | Default |
|---|---|---|---|
| name | The name of a group. | string |
- |
| config | To configurate a group. | object |
- |
| extend | To extend a shape. | string |
- |