Draw.io intergration app
[May 2017-June 2022]
:diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds:
:diamonds: The new official repository is located here: :diamonds:
:diamonds: https://github.com/jgraph/drawio-nextcloud/ :diamonds:
:diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds::diamonds:
This app allows users to create and edit diagrams in Nextcloud using Draw.io / Diagrams.net on-line editor.
App Store link: https://apps.nextcloud.com/apps/drawio
Once installed, you will see an option to create a Draw.io diagram from the 'create file' menu. Note: this app does not produce an app icon.
To make Draw.io work properly, you need to add a new mimetypes in the mimetypemapping.json
file (at Nextcloud level).
Go to Admin settings > Additional settings
( /index.php/settings/admin/additional
) and click the Save
button to register MIME types.
Or you can do it manually:
config
folder
or/resources/config/mimetypemapping.dist.json
to /config/mimetypemapping.json
(in the config/
folder at Nextcloud’s root directory; the file should be stored next to the config.php
file).
Afterwards add the two following line just after the “_comment” lines.
"drawio": ["application/x-drawio"],If all other mimetypes are not working properly, just run the following command:
sudo -u www-data php occ files:scan --all
Current release: zip or tar.gz
Go to Admin page and change the settings you want:
Click "Save" when you're done.
If you would like to self-host Draw.io, you might want to consider https://github.com/jgraph/docker-drawio from the creators of Draw.io (now diagrams.net).