Skip to Content
ExamplesNodes

Intersections

The useReactFlow hook exports helpers to check intersections of nodes and areas. In this example you can drag a node and get a visual feedback when it intersects with another node.

import { createRoot } from 'react-dom/client'; import App from './App'; const container = document.querySelector('#app'); const root = createRoot(container); root.render(<App />);
Last updated on