Consider implementing headless exports to remove Electron dependency #16
Labels
enhancement
New feature or request
funding wanted
Likely to happen only if funded
help wanted
Extra attention is needed
We're currently using the Draw.io desktop application to perform exports. This Electron application also exposes a CLI that allows us to export specific pages to a range of formats.
Whilst the Electron app is an ideal target for installation on desktops, it's less ideal in headless setups as it requires a running display server in order to do anything, even when we don't want a window.
Some bugs on this:
JGraph have a server-side implementation of exports used in browsers that aren't capable of doing the export locally, which uses Puppeteer. I'm thinking that we should write a client for this and have users run it in an additional container.
jgraph/draw-image-export2
supports all of the same formats as the Desktop app:pdf
png
jpg
svg
vsdx
jgraph/draw-image-export2
export_mode
option with bothdrawio
andexport2
modesexport2_uri
option to specify the service's addressThe text was updated successfully, but these errors were encountered: