Load plugins by default in draw.io for Confluence Cloud

An administrator can configure draw.io for Confluence Cloud to load one or more of the diagrams.net plugins by default. Then, whenever someone edits a diagram in that instance, they can use the plugin via the draw.io editor menu. Currently, only trusted plugins, developed by diagrams.net, are available for Confluence Cloud.

Some of the more popular plugins include:

  • anon: Scrambles all of the text and metadata in your diagram - it anonymises it.
  • svgdata: Adds metadata and IDs to the diagram when you export it to an SVG file.
  • sql: Lets you insert SQL to automatically create a database diagram.
  • text: Extracts all of the text in your diagram.

These plugins may not be production quality as some are developmental code, and therefore should be used as-is.

See the full list of diagrams.net plugins available in Confluence Cloud

Note: You can only use these in the draw.io editor, and not when viewing a diagram.

Customise Confluence Cloud to load a draw.io plugin by default

  1. Go to the draw.io Configuration tab in the draw.io Configuration section of your Confluence Cloud settings.
  2. Add the plugin ID you want to load by default to the plugins option in the JSON code. Add multiple plugins separated by a semicolon.
    Add the list of plugins to the draw.io Configuration in your Confluence Settings
    This example loads the anon and text plugins.
      "plugins": ["anon;text"]   
  3. Click Save when you are done.

Now, the plugins will be available in the draw.io editor’s menu.

draw.io plugins can be loaded by default in Confluence Cloud