gaphor / gaphor

Gaphor is the simple modeling tool
https://gaphor.org
1.87k stars 200 forks source link

Correlation between Pins and Actions is not maintained during Activity Diagram editing operations #3481

Closed pbrown12303 closed 4 weeks ago

pbrown12303 commented 1 month ago

Describe the bug

Editing operations in Activity diagrams do not maintain the proper correlation between pins and actions.

To Reproduce

There are a number of scenarios that can demonstrate this bug:

  1. If a pin X (either input or output) is associated with action A in one activity diagram and you have another activity diagram with action A already in it, you can drag pin X into the diagram and place it anywhere. It doesn't have to be connected to action A.
  2. If a pin X is associated with action A in an activity diagram and you then create an action B and drag pin X from the tree onto action B, it can be attached to action B, but it will also still be shown as attached to action A. Note that attaching pin X to action B does place pin X under action B in the tree.
  3. If pin X is associated with action A in an activity diagram, you can drag pin X from the tree and place another copy of the pin anywhere in the diagram. You can even attach it to action A again, and end up with two pin X's attached to action A.

Expected behavior

Screenshots

image

OS

Version

Version of Gaphor: 2.26.0

Additional information

Add any other context about the problem here.

danyeaw commented 4 weeks ago

Closed by #3479.