Skip to content

Export Diagram SVG at Server Side #1439

Closed Answered by martin-fleck-at
giuliano-marinelli asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @giuliano-marinelli,

Currently, the SVG can only be created properly on the client side as all the view rendering (where GModel elements are translated into SVG) is done there. There are already actions that deal with the SVG export, mainly RequestExportSvgAction to trigger the SVG export from the client or the server and the ExportSvgAction which is then sent out with the generated SVG string.

In our standalone workflow example, we use the standalone export module to allow the user to hit Ctrl+Shift+E to export the current diagram as SVG to a file called diagram.svg. The actual saving to a file happens in the ExportSvgActionHandler which handles the ExportSvgAction.

I'd assume that…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by martin-fleck-at
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants