Skip to main content

Step through a diagram using the built-in Explore function

The Explore viewer shows a shape and the shapes connected to it in a live, animated layout, without the rest of your potentially complex diagram. Click on a connected shape to move it to the centre and explore the rest of your diagram from there. Zoom out using the tools in the lower right to see additional levels of connected shapes.
Step through a flowchart in the Explore viewer via the Arrange tab of the format panel

This is useful for exploring complex organisation charts, mind maps, UML class diagrams, flow charts and more.

Explore a diagram​

  1. Select a shape in your diagram.
  2. Click on the Explore button in the Arrange tab.
    Explore the diagram from the selected cell

The Explore viewer will open with the shape you selected in the centre and its connected shapes around it.
Explore a diagram from the selected cell via the Arrange tab in the format panel

Notes

  • Explore is disabled if the selected shape has no connectors.
  • If you select a connector, the diagram is explored from its source shape.
  • If nothing in your diagram is selected and your diagram contains multiple separate 'sub-diagrams', the Explore view will open the sub-diagram that has the most connected shapes.
  • Unconnected shapes or standalone connectors will not be shown in the Explore view. This includes shapes such as swimlanes and pools, tables and groups as they are not typically attached to connectors.

You can also open the Explore viewer in the following ways.

  • File menu: Select File > Publish > Explore. This explores the diagram from the selected shape, or from the shape with the most connections on the current page if no shape is selected.
  • Presentation mode: Click on Explore at the top right of presentation mode.
  • Lightbox: To start exploring from a shape in the lightbox rather than the editor, add a custom link with the Explore action to your shape, or add the following link: data:action/json,{"title":"Explore","actions":[{"explore":{}}]}

Explore a diagram by clicking on a shape with a custom link within the draw.io lightbox
Open this example in the lightbox viewer and click on the central node to open the Explore viewer.

Move through the diagram​

Explore from another shape: Click on a connected shape. It will move to the centre, and the shapes connected to it will be added.
Click on a shape in the Explore viewer to move it to the center and see what is connected to it

Go back: Click on the arrow at the top left, or press Backspace or Alt+Left (Option+Left on macOS), to go back to the previous shape.
Go back to the previously selected shape in the Explore viewer

Show more levels: Zoom out with the mouse wheel, click on Zoom Out at the bottom right, or press -. Each step adds the next level of connected shapes, up to six levels. Zoom in to remove them again. The name of the shape in the centre and the number of levels and shapes are shown at the top left.
Click on Zoom Out to zoom out and show more levels of connected shapes

Show hidden shapes: If a shape has many connected shapes, only 12 of them are shown, and a grey shape shows the number of additional but hidden connected shapes, for example +8. Click on it to show 12 more connected shapes.
The first 12 connected shapes are displayed in the Explore viewer - click on the number to add more shapes

Pull shapes: Drag a shape to pull and its connected shapes. the connected shapes will elastically follow the dragged shape. When you release the shape, it will move back to the centre.
Pull a shape to better understand what is connected to it your diagram

Move the view: Drag the background.

Reset the view: Click on Reset at the bottom right to zoom back to 100% with the current shape in the centre and the first level of connected shapes.
Reset the explor view to the originally selected shape and one level of connected shapes

Highlight connected shapes: Hover over a shape to highlight it and the shapes connected to it. All other shapes and connectors (not connected to it) will dim.
Hover over a shape in the explore viewer to highlight it and dim its non-connected shapes

Animated arrows run along the connectors from their source to their target shape, so you can see the direction of each connection.

Explore with the keyboard​

  • Move between the buttons and the diagram: Press Tab or Shift+Tab. On the diagram, Tab highlights the connected shapes one after the other, level by level and clockwise from the top, before it moves on to the buttons. You can also press Shift and an arrow key to move to the nearest button or the diagram in that direction.
  • Highlight a shape: On the diagram, press an arrow key to highlight the nearest shape in that direction.
  • Explore from the highlighted shape: Press Enter or Space. The shape will move to the centre, like when you click on it.
  • Go back: Press Backspace or Alt+Left (Option+Left on macOS).
  • Show more or fewer levels: Press - or +.
  • Close: Press Escape.

Screen readers announce the name of the highlighted shape.

Close the Explore viewer​

  • Select the shape in the diagram: Click on the crosshair at the top right to close the Explore view and select the current centre shape. In presentation mode and the lightbox, the shape will be moved to the centre instead.
  • Close: Click on the cross at the top right, or press Escape.
    Close the Explore viewer in the top right to return to the editor

Use the classic Explore viewer​

The classic Explore viewer shows the connected shapes of a shape on one or more pages, one level at a time and without animations. Click on Next Page to see more connected shapes.
The Classic Explore viewer doesn't animate the shapes, and only allows you to see one level of connected shapes

To use it instead, set forceExplore to false in the editor configuration, or clear Interactive Explore in Extras > Configuration.
Set the Classic Explore viewer via the draw.io editor configuration - set Interactive Explore to Off

To open the classic viewer from a single custom link, select Classic in its Explore action in the action editor, or add "classic": true to the explore action in the JSON text.
Set the Classic checkbox in the Explore action in a custom link to use the Classic Explor view

Explore a diagram with your collaborators​

When you present a diagram to everyone in a real-time collaboration session, your collaborators will see the Explore viewer as you do: the same shape in the centre, the same levels and zoom, and the same highlighted shapes.