16

In Draw.Io, is there a way to copy-paste information from a drawing on one tab to a drawing in a different tab?

I couldn't find a way to do it.

6
  • Just to make it easier for people searching here; they did provide an option for cut and paste listed at the above link. > We've added experimental support for this using local storage. It can be enabled with the clipboard=storage URL parameter as follows: draw.io/?clipboard=storage
    – David King
    Commented Oct 26, 2013 at 13:29
  • "Above" where? Please note that answers can be sorted in a number of different ways, so what might be "above" this answer for you won't be true later or for someone else. Better to link to the answer/post to which you're referring.
    – ale
    Commented Oct 26, 2013 at 14:26
  • In David's answer about the feature request list jgraph.freshdesk.com/support/discussions/forums/107935 (the last entry shows the answer)
    – David King
    Commented Oct 26, 2013 at 15:10
  • Frankly, it would have been better to edit this information into that answer.
    – ale
    Commented Oct 26, 2013 at 15:11
  • I'm new to the stackexchange world..
    – David King
    Commented Oct 26, 2013 at 15:12

4 Answers 4

10

Select all, copy on origin ( using keyboard ), paste using keyboard into targer. If it doesn't work, bugs go to https://github.com/jgraph/drawio/issues

1
  • what does this link do? I already have two tabs open. Will I be able to copy selected diagram from one tab to another?
    – RajS
    Commented Dec 8, 2019 at 13:35
4

I was able to do this using the scratchpad feature on the left-side menu. In the 'source' diagram, I dragged the component I wanted to copy into the scratchpad, then I opened the 'target' diagram and dragged it out of the scratchpad.

1
  • Works great. Note, you may have to turn on the scratchpad in the View menu.
    – Symmetric
    Commented Nov 1, 2020 at 15:14
1

As of 11 November 2020, I have found the following solution.

Software used: Diagrams.net 13.7.9

Solution Summary: Using mouse controls to select, copy, from source drawing and paste into new drawing does not function properly. However, using keyboard controls does function correctly.

Solution Steps:

  1. Use keyboard CONTROL A to select all item on source drawing,
  2. Use keyboard CONTROL C to copy all selected items from source drawing,
  3. Open target page/work area
  4. Use keyboard CONTROL V to paste the copied items into their new location.
1
  • Agreed: Copy and Paste with the mouse right-click->Copy does not allow paste into another document. Nor does right-click->Paste allow paste into the other document. It must all be done with the keyboard. (Ubuntu 20.04)
    – poleguy
    Commented May 26, 2022 at 15:37
0

I was able to do this succesfully by importing one diagram in file A to another diafram in file B. This is how I did (as March 30th 2022):

  • Grouped all objects in file A and saved
  • Opened file B and selected File > Import and imported file A

It came as a new layer 'Background' although I already had one with the same name. Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.