Remix.run Logo
drumandbass 13 hours ago

How do you handle performance with large documents? I tend to write really long notes with 200+ nodes. Does the mind map view slow down at that scale?

havlenao 13 hours ago | parent [-]

The mind map view uses D3 flextree for layout calculation, and we render only the visible nodes (virtualization). So even with 200+ nodes, the layout stays smooth. On the text editor side, we use Tiptap which handles large documents well. The Yjs binding is optimized to only sync the delta, not the whole document. We're actively working on further graph editor performance improvements, especially around initial render time for large mind maps.