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