There is 1 comment.
 
 
Diagram Application / cid:jira-generated-image-avatar-50cc9b0b-2671-4239-94df-379beb15674c XADIAGRAM-45 Open

Better support of PDF export by storing images of diagrams at diagram save

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-668a9343-bfdc-4112-b953-99c5d61aafce Frederico Martins on 20/Aug/25 21:51
 

Hello, the solution for me was edit
/bin/view/diagram/DiagramViewSheet
and put this code

#elseif ($xcontext.action == 'export')
    image:diagram.svg
  #else

Ever diagram has an attachment called diagram.svg so if you put this code, the pdf will print the image.

Maybe other way is check if is an pdf export like $request.format == 'pdf'

 

PDF export works as expected in mi wiki now