WHITEBOARD SAAS
Minimap
A live overview of every registered panel + the current viewport. Click / drag to pan, double-click a panel to focus it.
PREVIEW
SOURCE
import { WhiteboardShell } from '@objectifthunes/whiteboard'
// The minimap is rendered automatically by WhiteboardShell.
// Hide it with showMinimap={false}, or pass minimapLoading={true} while data streams.
<WhiteboardShell showMinimap minimapLoading={isLoading}>
{/* …panels… */}
</WhiteboardShell>NOTES
The minimap subscribes to registryVersion in the store, not to panels. The store mutates the panels Map in place; selecting panels alone will not trigger re-renders.
Click or drag inside the minimap to pan the main camera. Scroll to zoom. Double-click a rendered panel to focus it (subject to its focusPadding and focusMaxScale).