To register an edge.
G6 Custom Shape (Chinese) Tutorial
import GGEditor, { Flow, RegisterEdge } from 'gg-editor';
<GGEditor>
<Flow />
<RegisterEdge name={...} config={...} extend={...} />
</GGEditor>| Property | Description | Type | Default |
|---|---|---|---|
| name | The name of a edge. |
string |
- |
| config | To configurate a edge. | object |
- |
| extend | To extend a shape. | string |
- |
| Edge Name | Preview | Applicable Page |
|---|---|---|
| flow-polyline | ![]() |
Flow |
| flow-polyline-round | ![]() |
Flow |
| flow-smooth | ![]() |
Flow |


