mirror of
https://gitee.com/antv/g6.git
synced 2024-11-30 18:58:34 +08:00
docs: update create edge demo with linkCenter
This commit is contained in:
parent
59ec5803b7
commit
5726004440
@ -19,6 +19,7 @@ const graph = new G6.Graph({
|
|||||||
container: 'container',
|
container: 'container',
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
|
linkCenter: true,
|
||||||
modes: {
|
modes: {
|
||||||
default: [{
|
default: [{
|
||||||
type: 'create-edge',
|
type: 'create-edge',
|
||||||
|
Loading…
Reference in New Issue
Block a user