diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index a8703f5..38e3d3e 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -108,12 +108,11 @@ export default { newNode.id = max_id + 1; } else { - newNode.id = 0; + newNode.id = 1; } this.diagram.nodes.push(newNode) - } }