diff --git a/src/DiagramModel.js b/src/DiagramModel.js index 4eab3f4..75d7fbe 100644 --- a/src/DiagramModel.js +++ b/src/DiagramModel.js @@ -68,8 +68,8 @@ class DiagramModel { id: generateId(), from: from, to: to, - positionFrom: {}, - positionTo: {}, + positionFrom: { x: 0, y: 0 }, + positionTo: { x: 0, y: 0 }, points }); }