refactor(svelte): cleanup nodes selection

This commit is contained in:
moklick
2023-10-09 15:51:53 +02:00
parent 6f9ebbf609
commit a46104cf40
6 changed files with 33 additions and 13 deletions
+15
View File
@@ -1,3 +1,18 @@
## 0.0.23
- updates `useSvelteFlow` hook:
- add `screenToFlowCoordinate` and `flowToScreenCoordinate`
- add `getConnectedEdges`, `getIncomers` and `getOutgoers`
- add `deleteElements`
- add `fitBounds`
- add `getIntersectingNodes` and `isNodeIntersecting`
- add `useConnection` hook
- add `useNodes` hook
- add `useEdges` hook
- add `viewport` prop (writable viewport)
- fix selection style
- fix Background component with lines variant
## 0.0.22
- add `connectionLine` slot for rendering a custom connection line