Number the shapes in your diagram

This plugin should be used as-is, as an unsupported example for developers.

Add automatic numbering to the shapes in your diagram with the number plugin. It will number each shape as they are added to your diagram. You can change the order by bring shapes to the front or sending them to the back - the numbering is based on their order (depth) in the diagram.

The number plugin automatically includes numbers on shapes as you add them to your diagram

Open this diagram in the viewer

More information about diagrams.net plugins

Load the number plugin

Permanently load the number plugin

If you want to always use the number plugin, add it to the plugins list so it will be loaded each time you create or edit a diagram.

  1. From the menu, select Extras > Plugins.
    Open the plugins list
  2. Click Add.
    Add a new plugin
  3. Select number in the drop-down list of built-in plugins, then click OK.
    Add the number plugin
  4. Click Apply.
    Add the number plugin

Reload your browser tab to load the plugin into the diagram editor.

Show or hide the numbering in your diagram

Click View > Number to show or hide the numbering in your diagram.

Share a diagram using the properties plugin

By default, diagrams published to URLs do not load plugins.

To allow someone to see your diagram with its numbers on shapes, when you publish a diagram to a URL (File > Publish Link), add the &p=number URL parameter to the link before you share it (as highlighted in blue in the screenshot below).

Share a link to your diagram and enable the number plugin

Note: Plugins are not supported in draw.io for Confluence.