Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I centre a diagram in Confluence Cloud

I've drawn a basic vertical flowchart using the plugin for Confluence Cloud but no matter where I position the diagram on the page in, it appears resolutely stuck to the left margin when I save and exit to Confluence.

In Confluence itself, the macro takes up the whole column width and doesn't offer an alignment button when you click on the macro diagram, only column width, edit or delete.

How do I centre the flowchart in the column on the Confluence page?

3 answers

2 votes


Our engineers have been working on this and added the possibility to “Center“ as shown in the attached image. So please open the diagram in editor, tick “Center“ and click Save&Exit. Does it help?






I am having the same issue. How to go to the viewer settings for an drawing?


open a Confluence page where diagram was created, hover a diagram, click Edit diagram pencil (top left) and you should be able to see Viewer Settings.

If you don't see it, repeat all the steps in a different browser and Incognito mode. Also, clear the cache. Incognito mode is great for testing cause it is cache and extension free (cache and extensions can cause some problems sometimes)

If nothing helps, tell me version you are using please (can be seen under Settings > Manage apps > expand 


Like # people like this

As a work around, I have used a rectangle box flattened and extended along the bottom horizon to title the diagram. With the line color same as the background is keeps the diagram centered. 

I noticed a small bug but that is confusing. If you open your diagram, check Center, and publish it, it doesn't update on the Confluence page.

But if you change something on the diagram itself and publish it, then the diagram gets updated with both the fact that it's centered and whatever you just changed in the diagram.

If you click Edit page pen, select a diagram and click "Back to center", does it help?


No that doesn't center the diagram. You really have to change something on the diagram itself to make it refresh.

@Jonathan Boccara I am not able to reproduce this. Please submit all the details (environment used, drawio version etc.) and video showing all the performed steps and the result.


Here is a screencast showing how to reproduce the issue. I'm using Chrome 103.0.5060.114 (Official Build) (x86_64). And where can I find the drawio version?


Thanks. Tested this and it looks like you are right. 

We'll investigate this. Meanwhile, please use Center in Viewer settings and tell me if it helps (it is working at my place)

center png.JPG



Where is the viewer settings? I can only see those buttons from the Confluence page

Screenshot 2022-07-20 at 14.30.05.png

You should be able to see this settings in Confluence page view mode. From page edit view (shown in the image you attached) just click Publish top right. 

Hi @Marija Radovic - Center function only works when toolbar option is set to 'Top'. Otherwise (hidden, embedded), the center function will not have any effects when the diagram is rendered in the confluence page.

Also, there are layout bugs within Mozilla Firefox 88.0.1 version (other versions not checked, latest Google Chrome is fine), e.g.: Right border of widget not displayed, hover inconsistencies, settings box not opening options or not displaiyng properly when opened within the widget in confluence view mode.

Do you think the hidden & center bug will be fixed soon?


for the first "top"report could you tell me browser version and operating system you are using, please? 

For the second, is it possible to send a video showing all the issues you reported so we could be sure we understand them completely?



Hi @Marija Radovic ,

yeah sure!

Browser: Mozilla Firefox, 88.0.1 (64-Bit)

OS: macOS Big Sur, Version 11.3.1 (20E241)

Where should I send you the video?

Best, M

Great :)

You can attach it here or if you have some sensitive data, submit all the details + video here:



Hi Mate,

Sorry for the late reply. I created the issue and assigned our engineer so he could take a closer look. 

Please track it here:

Kind regards,


0 votes
Deleted user Aug 28, 2020

Does not see the center option aswell, using 9.4.8, any suggestions?


If you are using for Confluence Server, click Edit page pen (top right) and you should be able to see alignment options as shown in the image bellow (marked yellow) 

Does this help? 

Kind regards,



I click centre and in the edit window it's centred, but as soon as the page is published it's not!


Are you using drawio for Confluence Cloud, please? Do you have the issue in other browsers and Incognito mode?

How did you set other Viewer settings? If possible, please attach a video showing all the steps and the result. 

If you don't want details to be seen publicly here, please submit all the details here: 

Kind regars,


Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

117 views 0 9
Read article

Atlassian Community Events