How to use diagrams in Google Docs

draw.io 27 Jan 2020

Share:

The free draw.io add-on for Google Docs lets you embed your diagrams into your documents. When the diagram files have been updated via your Google Drive, all you need to do is update them inside your document to show those changes.

Install the draw.io Google Docs add-on

  1. Open a document, or create a new document. Click Add-ons > Get Add-ons.
  2. Search for diagrams and click on draw.io for Docs.
    Install the draw.io for Docs add-on from the Google Marketplace
  3. Follow the prompts to grant the editor permission to access your Google Documents and files on Google Drive.
    Grant permission for the editor to access your Google Drive files and Google Docs
  4. Once the draw.io add-on has been successfully installed, you can start using it via the Add-ons > draw.io for Docs submenu.

Note that your diagram data is only ever stored in your browser and on your Google Drive account.

Using diagrams in Google Docs

You don’t need to export an image from your diagram to paste into the Google Doc - use the add-on to embed the diagram file directly into your document.

Tip: Make sure you allow pop-ups in your browser. When you create a new diagram, this will open a new tab or window in your browser and go to draw.io. When you save your diagram, make sure you save it to your Google Drive.

Embed a diagram in a Google doc

  1. Click Add-ons > draw.io for Docs > New Diagram to create a new diagram, which is saved to your Google Drive. You may need to grant additional permissions to draw.io to use your Google Drive account.
  2. When you want to embed an existing diagram, including a new diagram you have created and saved to your Google Drive, click Add-ons > draw.io for Docs > Insert Diagrams. Select multiple diagrams by holding down Shift when you click on each diagram file.
  3. Navigate to your diagram file, select it, then click Select.
    Select your diagram file from Google Drive to insert into your document
  4. Select which page you want to display, if your diagram has multiple pages, then click Insert.
    Select the diagram page you want to embed in your Google Document

It's easy to embed diagrams in Google Docs

Change how your diagram is displayed

Change the text wrap around the diagram: Select a diagram, then select one of the text-wrap symbols in the toolbar that appears.

Change the whitespace around the diagram: Select a diagram then select a new value from the Margin dropdown.
Select a new magin or text-wrap style around your diagram in your Google Document

Crop your diagram: Select a diagram, click the Crop Image tool in the toolbar, then drag the black borders that appear on your selected diagram to crop it. Note that this only crops how the diagram is displayed in your document, it does not change your diagram file.
Use the crop image tool to crop your diagram in your Google Document

Reposition your diagram: Drag the diagram to the right or the left to reposition it within your document.

Recolour the diagram: Select a diagram, then click Image options in the toolbar. Click the Re-color dropdown and apply a colour filter. This only changes how your diagram is displayed in your document, it does not change your diagram file.
Apply a new colour filter to your diagram in your Google document

Resize the diagram: Select a diagram, then drag any of the square handles around the edge of the diagram to resize it.

Rotate your diagram: Select a diagram, then drag the circular handle at the top of the diagram to rotate it.
Apply a new colour filter to your diagram in your Google document

Update the embedded diagrams to see changes

Your diagram is displayed as an image inside your Google Document. If you make changes to the diagram file stored in your Google Drive, you’ll need to regenerate the images to see those changes inside your document.

  1. Select the diagram inside your Google Document.
  2. Click Add-ons > draw.io for Docs > Update Selected.

If you want to update all of the diagrams, click Add-ons > draw.io for Docs > Update All.

Follow us on GitHub, Twitter, Facebook.

Share: