You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I appreciate the effort you have put into this tool and it's extremely valuable to the effort it's apart of. It saves costly developer time that can be preciously used elsewhere.
I started using this tool for generating SVGs that are shown in an Azure DevOps wiki. It works great for this usage, although I'm afraid it wasn't exactly what I had in mind.
Issue
When trying to generate PDFs, it recursively generates the PDFs like a reverse Fibonacci. What I mean by this is when running docker run -it -v $(pwd):/data rlespinasse/drawio-export, it results in PDF files being made for each page in the diagram but the first PDF will contain all of the diagrams from the Draw.IO instead of just the contents of the first page.
Let's say page 1 is titled "FirstPage", page 2 is titled "SecondPage", so on and so forth. After generation is complete, the output file FirstPage.pdf will contain pages 1 through N instead of only containing the content from "FirstPage". The output file SecondPage.pdf will contain pages 2 through N, excluding the page that proceeded it in the Draw.IO file.
Questions
How do I generate a PDF document per page in the Draw.IO diagram without containing other pages?
Is it possible to generate a PDF document that contains a page for each diagram in the Draw.IO instead of separate PDF documents?
The text was updated successfully, but these errors were encountered:
nql5161
changed the title
Default PDF exporting results in recursively generated fileset
PDF exporting results in recursively generated files
Jan 17, 2023
Your first question seems to be a bug, I will look into it.
For the second one, will need a new feature to be possible, see rlespinasse/drawio-exporter#17.
I reproduce the reverse Fibonacci bug with the PDF type. After some search, the issue was reported on jgraph/drawio#3597.
This docker image needs to be based on a drawio-desktop version greater than 21.3.3.
Intro
Hi, I appreciate the effort you have put into this tool and it's extremely valuable to the effort it's apart of. It saves costly developer time that can be preciously used elsewhere.
I started using this tool for generating SVGs that are shown in an Azure DevOps wiki. It works great for this usage, although I'm afraid it wasn't exactly what I had in mind.
Issue
When trying to generate PDFs, it recursively generates the PDFs like a reverse Fibonacci. What I mean by this is when running
docker run -it -v $(pwd):/data rlespinasse/drawio-export
, it results in PDF files being made for each page in the diagram but the first PDF will contain all of the diagrams from the Draw.IO instead of just the contents of the first page.Let's say page 1 is titled "FirstPage", page 2 is titled "SecondPage", so on and so forth. After generation is complete, the output file FirstPage.pdf will contain pages 1 through N instead of only containing the content from "FirstPage". The output file SecondPage.pdf will contain pages 2 through N, excluding the page that proceeded it in the Draw.IO file.
Questions
The text was updated successfully, but these errors were encountered: