nextcloud-drawio
nextcloud-drawio copied to clipboard
Display preview image of diagram instead of xml code in nextcloud preview panel
Nextcloud displays a preview of the selected file at the top of the right pane of the file browser view. As the drawio file is an xml file it shows the code in this preview. This is not helpful at all. Adding to that it is only one line so there's hardly any information shown.
If a diagram gets bigger the preview takes longer and longer. For example I've got an xml-file of ~10MB. After closing the drawio app it takes quite some time for the preview to update. During this time nextcloud is not responding.
My suggestion would be to replace the preview with an image of the diagram, like the small outline window shows within drawio.
draw.io can load/save as SVG with embedded XML and PNG with embedded XML. Maybe switching to one of those formats will solve this. Drop me an email @pawelrojek [email protected].
i`am try create preview plugin. can anybody say how to call preview generation of draw.io diagram?
any chance this is going to get fixed?