We are experiencing an issue with the Draw.io (diagrams.net) plugin in Confluence where diagrams display with a large empty/white space below the actual content.
This occurs even though the diagram itself only occupies the top portion of the canvas. It appears that the plugin is rendering additional blank canvas space in Confluence pages.
Steps to Reproduce
Create or edit a Draw.io diagram in Confluence.
Place content at the top of the diagram, leaving unused space below.
Save and view the diagram in Confluence.
Notice that a large white space is displayed below the actual diagram content.
Expected Behavior
The diagram should automatically resize or crop to fit the actual content, without leaving unnecessary blank space below.
Workarounds Tried
Disabled Page View in Draw.io editor → reduced but did not fully resolve the issue.
Tried Arrange → Autosize → still leaves extra space in some cases.
Checked for stray elements outside the canvas → none found.
Adjusted Page Setup options → no “Fit to Content” available in Confluence version.
Environment
Confluence (Cloud)
Draw.io plugin (v28.1.1)
Impact
The issue affects the readability and presentation of diagrams in Confluence documentation, as the large blank space makes pages look unprofessional and requires extra scrolling.