prmr / JetUML

A desktop application for fast UML diagramming.
GNU General Public License v3.0
622 stars 121 forks source link

Pasted subgraphs don't draw properly in Sequence Diagram #285

Closed prmr closed 5 years ago

prmr commented 5 years ago

Description When pasting a sequence diagram fragment to a new diagram, the edges don't draw properly.

Steps to reproduce

  1. Create new Sequence Diagram (see Screenshot 1)
  2. Select All and Copy
  3. Create a new, empty sequence diagram.
  4. Paste into it.

The call edges don't have the proper gap. See screenshot 2.

Screenshots test1 test2

Configuration

Additional information [Replace this text with any other information about the problem here. Remove this section if not applicable.]

prmr commented 5 years ago

The pernicious requirement that CallNodeView objects require a reference aDiagram breaks the general copy-pasting mechanism across diagrams, since the target diagram is not set in the node by default.