How can I change the name of my Draw.io diagram?

It is possible to edit the macro, in order to change some metadata: size, toolbar & border.  However I don't get the option to change the name.

If I go into the page code and change the macro's diagramName there, the macro's connection to the diagram data seems to break.

Any tips?

-Michael

5 answers

Is this Confluence Server or Cloud?

You'd need to copy, then change the names of the corresponding attachments copies on the page (both the diagram XML and the PNG preview). You should copy and rename them, rather than rename, so that the page history is intact.

In additional, you need to edit the storage format for the page (source editors are available for both Confluence Server and Cloud), find the "diagramName" parameter in the draw.io macro for that diagram and change the value to new name.

Atlassian supply a free source editor for Server, but its operation and updating aren't always great.

There's always pay-for source editor for both Server and Cloud, which I've found to work really well.

Where can we submit a feature request for this?

It doesn't make sense that a basic functionality like this needs to be so complicated that people can't even understand the steps to follow.

https://trello.com/c/ukNgJcjz/105-rename-diagrams-attachments-and-macro . It's already accepted and on the todo, but still please vote for it.

I voted! Is there a Trello board for Draw.io Confluence Cloud?

I don't understand it. Where can I access the page code. Can I habe a detailed description

Thanks, David.  I've voted now too.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

716 views 21 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you