We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6035ba3 + d1c5b45 commit 30abd29Copy full SHA for 30abd29
README.md
@@ -61,34 +61,26 @@ const data = {
61
// 节点
62
nodes: [
63
{
64
- id: 21,
+ id: '21',
65
type: 'rect',
66
x: 100,
67
y: 200,
68
- text: {
69
- value: '矩形节点',
70
- x: 100,
71
- y: 200,
72
- },
+ text: '矩形节点',
73
},
74
75
- id: 50,
+ id: '50',
76
type: 'circle',
77
x: 300,
78
y: 400,
79
80
- value: '圆形节点',
81
- x: 300,
82
- y: 400,
83
+ text: '圆形节点',
84
85
],
86
// 边
87
edges: [
88
89
type: 'polyline',
90
- sourceNodeId: 50,
91
- targetNodeId: 21,
+ sourceNodeId: '50',
+ targetNodeId: '21',
92
93
94
};
0 commit comments