Skip to content

Commit

Permalink
Merge pull request #2 from TonyMasse/fix(diagramLink)
Browse files Browse the repository at this point in the history
fix(diagramlink): populate `positionFrom` and `positionTo`
  • Loading branch information
TonyMasse authored Dec 9, 2020
2 parents 0c1c7cb + a96190d commit 88fe53a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DiagramModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
}
Expand Down

0 comments on commit 88fe53a

Please sign in to comment.