You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/enterprise/react_flow/hooks.md
-37Lines changed: 0 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,40 +31,3 @@ The `rxe.flow.api` module provides hooks to interact with the Flow instance. The
31
31
-`get_intersecting_nodes(node, partially=True, nodes=None)`: Find all the nodes currently intersecting with a given node or rectangle.
32
32
-`get_node_connections(id=None, handle_type=None, handle_id=None)`: This hook returns an array of connections on a specific node, handle type ("source", "target") or handle ID.
33
33
-`get_connection()`: Returns the current connection state when there is an active connection interaction.
34
-
35
-
## Example
36
-
37
-
Here is an example of how to use the `screen_to_flow_position` hook to add a node at the position of a drop event.
38
-
39
-
```python
40
-
import reflex as rx
41
-
import reflex_enterprise as rxe
42
-
from reflex_enterprise.components.flow.types import Node, XYPosition
0 commit comments