Choose a diagram from the sidebar.
Scroll or drag to pan, pinch or Ctrl/Cmd + scroll to zoom, and use Fit to snap back to the full diagram.
Browse the Mermaid set shipped with the repo. Each diagram opens fit to the available frame, then supports drag, wheel, and pinch interaction without losing the source view or fullscreen mode.
Scroll or drag to pan, pinch or Ctrl/Cmd + scroll to zoom, and use Fit to snap back to the full diagram.