React Diagram - Zooming and Panning

Pan, Zoom, and Fit Diagrams to View

Try Our Live Demo

Syncfusion Feedback

Trusted by the world's leading companies

Explore React Diagram zooming and panning features

Navigate large diagram canvases with zoom, pan, reset, and fit-to-page controls. Bring specific content into view or move it to the viewport center, and use the Overview component to navigate distant regions while maintaining context.

React Diagram zoom-in, zoom-out, and reset controls

Zoom in, zoom out, and reset the view

Zoom in to inspect details, zoom out to view a broader area, and reset the view to restore its default zoom and position. These controls make it easier to move between detailed inspection and broader views. Use them when users need to examine specific elements, understand their surrounding context, or return to the diagram’s initial view.

React Diagram panning across a large canvas

Pan across the canvas

Pan across the diagram canvas while keeping the current zoom level unchanged. This allows distant regions to come into view without changing the visual scale. Use panning when a large diagram extends beyond the viewport and users need to follow connections or move between separate areas.

React Diagram fitting content within the viewport

Fit diagram content to the viewport

Fit-to-page navigation adjusts the zoom level so the diagram content is visible within the available viewport. This provides a quick way to restore the overall structure after zooming or panning. Use it when users need a complete view of a wide, tall, or detailed diagram.

React Diagram bringing specific content into view

Bring specific content into view

Bring a specific diagram region into the viewport without manually searching or panning across the canvas. Applications can identify a diagram element or known area and reveal it quickly, making important content easier to find. Use this option when users need to navigate directly to a particular part of a large diagram.

React Diagram bringing specific content to the viewport center

Bring specific content to the center

Move a specific diagram region to the center of the viewport for focused review. Applications can identify an element or known area and position it centrally, making the content easier to inspect or present. Use this option when a diagram area must be highlighted during a review, presentation, or discussion.

React Diagram Overview component for large-canvas navigation

The Overview component displays a miniature version of the full diagram with an indicator for the current viewport. Users can move the viewport indicator or select another area to navigate large diagrams while maintaining spatial context. Use it when diagrams extend across multiple regions and users need faster navigation.

See Why Developers Love Syncfusion

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time. Here are some of their experiences.

Frequently Asked Questions

React Diagram zooming and panning help users inspect detailed content and navigate diagrams that extend beyond the visible viewport. Users can change the scale, move across the canvas, reset the view, or fit all content within the available area.

Yes. Fit-to-page navigation adjusts the zoom level so the diagram content is visible within the available viewport. This is useful for restoring an overall view of wide, tall, or detailed layouts.

Yes. React Diagram can bring a specific content region into view or move it to the center of the viewport. Applications can identify an element or known area and navigate directly to that part of the diagram.

Yes. Reset returns the diagram’s zoom level and scroll position to their default values. This provides a quick way to return to the initial view after zooming or panning.

The Overview component displays a miniature version of the full diagram and highlights the current viewport. Users can interact with the viewport indicator or choose another area to navigate without losing their position in the overall layout.

Resources

Learn more about our React Diagram

Explore demos, knowledge base articles, and documentation to get the most out of the Diagram.

Documentation

Explore guides, APIs, and quick-start tips

Example demos

See live use cases in action

Community forum

Ask, share, and connect with peers

Knowledge base articles

Find solutions and best practices fast

Contact support

Get expert help when needed

Feature requests and bug reports

Track issues and suggest improvements

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Up arrow icon