Alignment in Draw IO diagrams is not working properly

Nermine Abdulhafiz October 1, 2021

Hi all,

We are using Confluence data center version 7.13.0, recently updated. After our Confluence update, Draw IO plugin is also updated to version 9.6.7. 

Since the update, the alignment in the diagrams does not work properly. Diagrams that are center-aligned are forced to be left-aligned. Does not work no matter how many times I edit it.

It looks center-aligned on edit mode, but on the published page it is reverted to left-aligned. 

Also, diagrams are not always responsive on the page and sometimes the scrollbars appear/disappear. 

 

Anyone facing similar issues with Draw-io and can share some insights?

 

Thanks in advance!

Nermine

 

1 answer

0 votes
David Benson _draw_io_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 1, 2021

I think this is a known Confluence issue. What version of Confluence did you update from?

Nermine Abdulhafiz October 4, 2021

We did not have this issue before the update. We updated from 6.15.8 → 7.13.0.

John Naughton October 4, 2021

We are experiencing this alignment issue as well.  We are on Confluence Data Center 7.4.3 with the latest security vulnerability update applied, soon to upgrade to 7.13.

We upgraded to draw.io version 9.7.2 this past Wednesday night (9/29/21) and users started having draw.io alignment issues the next day.

John Naughton October 4, 2021

@David Benson _draw_io_ do you have a link to the known Confluence issue?  tia

David Benson _draw_io_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2021

As I recall a change to Confluence meant that an additional div had to be wrapped around the macro. Have a look at https://www.diagrams.net/doc/faq/configure-drawio-confluence-server. Try setting macrooutputtype to inline.

David Benson _draw_io_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2021

Ah no, it's https://jira.atlassian.com/browse/CONFSERVER-35605. Setting inline won't help.

Before we added the wrapper div we didn't hit this, but we had isolation issues with other content, so it had to go in.

The ticket is about macros with wrapper divs (which Atlassian now require) not being able to center align.

Nermine Abdulhafiz October 5, 2021

So what would be the solution here then?

thanks!

David Benson _draw_io_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2021

Atlassian have to support alignment of macros, as the ticket describes.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events