Summary: Working with Draw IO you can publish or embed diagrams that resemble visio functionality.
Date: Around 2020
Refactor: 21 February 2025: Checked links and formatting.
Note: In the year 2025 I prefer the drawio extension for vscode.
<html>
and </html>
tags around itThis is an example of a result:
Changes can be done on different ways.
In the above example I said to disable the edit button. Be enabling this and clicking on the edit button you can change the diagram and simply follow the procedure above to re-embed the diagram.
And again an example:
It's also possible to save the diagram to, for example, your google drive or onedrive. This allows to import the saved file and make your changes, but you'll always have to re-embed the diagram.
All these options are dependent on draw.io to be available. If the service is discontinued or not available you'll loose your data. That's why I recommend to consider the following options:
You can also save the diagram as an image and upload the image to dokuwiki. However, this means that the image is not editable anymore.
The function is in beta so functionality will be limited but you can export your diagram as an Visio VSDX file. I have tested this a little bit and it works.