refactor(core): remove node intersections arg from drag events (#1460)

* refactor(core): remove node intersections arg from drag events

* chore(changeset): add

* docs(examples): update intersection example
This commit is contained in:
Braks
2024-06-13 00:04:51 +02:00
parent a9ccd61eec
commit 0825101ebe
8 changed files with 70 additions and 22 deletions
-7
View File
@@ -1,7 +0,0 @@
# Intersection
Vue Flow provides utils to find intersections of nodes with other nodes (or a given area).
<div class="mt-6">
<Repl example="intersection"></Repl>
</div>
+9
View File
@@ -0,0 +1,9 @@
# Node Intersections
Sometimes you need to know if two nodes intersect. `useVueFlow` provides you methods like `getIntersectingNodes`
or `isNodeIntersection` to help you find out when two or more nodes intersect,
or if a node intersects with a given area.
<div class="mt-6">
<Repl example="intersection"></Repl>
</div>