RegisterGroup

To register a group.

Usage

G6 Custom Shape (Chinese) Tutorial

import GGEditor, { Flow, RegisterGroup } from 'gg-editor';

<GGEditor>
  <Flow />
  <RegisterGroup name={...} config={...} extend={...} />
</GGEditor>

API

Property Description Type Default
name The name of a group. string -
config To configurate a group. object -
extend To extend a shape. string -