refactor(screenToFlowPosition): add option to configure snapToGrid #3771

This commit is contained in:
moklick
2024-01-15 12:20:13 +01:00
parent 93d437edb6
commit 0fe2f2ae53
5 changed files with 24 additions and 7 deletions
+8
View File
@@ -2,6 +2,14 @@
## 12.0.0-next.6
## Minor changes
- pass Node/Edge types to changes thanks @FelipeEmos
- use position instead of positionAbsolute for `getNodesBounds`
- add second option param to `screenToFlowPosition` for configuring if `snapToGrid` should be used
## 12.0.0-next.6
### Minor changes
- fix `deleteElements`