How to remove blank canvas pages from draw.io

draw.io

I created a one page flow-chart with draw.io and printed it.

After opening it again to create a new version, it opened to what I thought was a blank page. There was now page after page of blank canvas, with the project in the lower right corner.

I tried to go to Document PropertiesCustom but that didn't remove the blank pages. There is no obvious way to remove them. The structure chart content is neatly within the one page, so I don't see why it would automatically add more.

The main problem is that I can't print or save because the file is so large my laptop freezes or otherwise stalls when trying to print or save as a pdf.

How can I remove these blank pages?

Best Answer

Most likely, you have a component somewhere in the lower right corner which you're not aware of (sometimes, a nasty little text product of a spastic and involuntary click). Quick solution: Zoom out completely and do a select all. See if anything is selected besides your diagram. Once you delete that unwanted component, all blank pages should disappear.