docs: update create edge demo with linkCenter

This commit is contained in:
Yanyan-Wang 2020-08-25 15:02:25 +08:00
parent 59ec5803b7
commit 5726004440

View File

@ -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',