React Flow | Svelte Flow - Powerful open source libraries for building node-based UIs with React (https://reactflow.dev) or Svelte (https://svelteflow.dev). Ready out-of-the-box and infinitely customizable.
Hi,
I suppose mini map preview was somehow broken after upgrade from 12.0.0-next.17 to 12.0.0-next.18. Zooming and dragging works but without any elements inside, just gray square with white viewport.
You forgot to add onNodesChange and onEdgesChange handler. Plus, the nesting you are doing is not recommended and will result in weird side effects. Here is a corrected sanbox.
Describe the Bug
Hi, I suppose mini map preview was somehow broken after upgrade from 12.0.0-next.17 to 12.0.0-next.18. Zooming and dragging works but without any elements inside, just gray square with white viewport.
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-2bl2pz?file=src%2FApp.jsx
Steps to Reproduce the Bug or Issue
Expected behavior
Mini map has a graph preview.
Screenshots or Videos
12.0.0-next.18 12.0.0-next.17
Platform
Additional context
No response