Skip to main content

List of draw.io plugins

Plugins should be used as-is, as unsupported examples for developers.

There are a number of built-in plugins that can be added to draw.io, either added as a one-off or loaded every time you use draw.io with that browser.

To load a plugin, use the p=xxxx URL parameter, separating multiple plugin IDs with a semicolon. This does not permanently load the plugin, so the next time you create a diagram it won't be available.

For example:

To permanently add plugins, select a plugin from the list of built-in plugins via the Add Plugin dialog, click OK and then Apply to save your changes. Make sure you reload the editor in your browser tab after you permanently add or remove a plugin.

Add the anonymize plugin

Note: Plugins are not part of the core functionality of draw.io, they are intended as examples for developers to create additional functionality.

The following plugins are available from the draw.io GitHub repository.

FilenameIDDescription
example pluginp1Defines a custom sidebar and placeholders (source code)
explore.jsexAdds Explore from Here to the context menu, and a click handler to the lightbox (example, how to use)
tooltips.jstipsAdds an icon for shapes and connectors with tooltips (example)
svgdata.jssvgdataAdds metadata and IDs in the SVG export
number.jsnumberNumbers all shapes in chromeless mode (how to use)
sql.jssqlAdds Arrange > Insert > Advanced > From SQL (how to use)
props.jspropsShows shape metadata in chromeless mode (example, how to use)
text.jstextAdds Extras > Extract Text for extracting all of the text in a diagram
animation.jsanimAdds Extras > Animation which autostarts in chromeless mode (example)
update.jsupdateAdds data-driven diagrams in chromeless mode (source code, example)
replay.jsreplayAdds Extras > Record for replaying all changes made to a diagram
anonymize.jsanonAdds Extras > Anonymize Current Page to remove metadata and change labels, including the page name (how to use)
webcola.jswebcolaAdds Layout > WebCola Layout to run the interactive, constraint-based layout
flow.jsflowAdds Toggle Flow to the context menu, and a connector click handler to the lightbox

Note: Plugins work with the web version of draw.io (app.diagrams.net) or our Docker image if you want to run your own server. They do not work with draw.io for Confluence/Jira or with draw.io Desktop.