Hi. I'm on Atlassian Cloud, using Confluence with Draw.io.
I cannot figure out how to move a Draw.io diagram to another page, or copy it to another page.
When I try to insert a Draw.io Diagram (Insert 'Draw.io' macro) I don't get the choice to insert an existing diagram. It just goes directly to the new diagram blank canvas/page. I do see a brief Confluence macro dialog pop up very briefly, but the Draw.io interface takes over immediately and opens up to create a new blank diagram.
The new diagram dialog doesn't actually show.
Tried on Chrome, Firefox.
Any ideas / config I need to do on our Atlassian Cloud / Draw.io add-on settings?
FYI / Attn: @David Benson [draw.io]
You may export the draw.io object as an XML file, and then import the XML file to a new draw.io object in another page.
1) In the original page, go to the "Edit" view. Click on the draw.io diagram and select "Edit" to switch to draw.io edit view.
2) From the top menu bar, select "File" -> "Export". Select the export file type to be XML, and click an appropriate button to export the diagram.
3) In your new page, create a new draw.io object. In its edit view, from the top menu bar, slect "File" -> "Import". Select the file you just export in step 2, then click an appropriate button to import the diagram content.
Note: Steps 4 & 5 can be reversed... pasting the Draw.io diagram/object/macro into the destination page in edit mode will result in a blank diagram until the plain text mxGraphModel is attached to the page
Note: This even works copying/moving between spaces and even Cloud instances.
If you want to have the image from a Draw.io diagram on one page (the source page) show on other pages and have the image always update when the source page Draw.io diagram is edited, then ignore all the above and simply on the destination page, in edit mode, select to insert an image ("Insert files and images" or Ctrl+M) and then "Search on other pages". You'll have to remember what the source Draw.io diagram is called. It will be a .png file). Find, Select, and Insert the .png render copy of the diagram. This will insert the diagram into your page, but not attach it... it is just a link back to the original .png file. Save your page. If you update the Draw.io diagram on the source page, this page image should also be updated.
If you do this, you may want to add a link (the image itself if you wish) back to the page where the master Draw.io diagram resides. And don't ever delete that master diagram plain text mxGraphModel file.
image2016-3-18 0:54:17.pngimage2016-3-18 0:54:54.png
Thanks to Peter and David for the work around. definitely ugly and definitely needs to be addressed w/in the tool natively.
1) Must: ability to easily make a true copy w/ different source reference.
2) Must: ability to easily move a drawing from one page/space to another.
3) Optional: ability to create a reference copy, i.e. one source but multiple appearances across any number of pages. Modifying any instance will result in all being updated.
I use excerpts to reuse draw.io diagrams from a single source
Now you can edit the source diagram in the excerpt and those changes will be reflected on all other pages that include the excerpt.
There's no option to copy an existing diagram in Confluence Cloud currently. The Atlassian Connect interface in Cloud is somewhat more limiting than the P2 interface on Server, so there's no technical means to implement this at the moment. We are working with the Connect team to improve the API so that functionality like this is possible.
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events