ls1intum / Apollon

UML Modeling Editor written in React
https://apollon-library.readthedocs.io
MIT License
65 stars 22 forks source link

Communication diagram - displayed arrow direction changes with position of objects #163

Open svardik opened 3 years ago

svardik commented 3 years ago

Describe the bug

When two objects are connected in a communication diagram, the displayed arrow direction changes according to the position of those objects

To Reproduce

  1. Create two objects in a communication diagram
  2. Connect them and add at least one message to the connection
  3. Move these objects around without changing the connection config
  4. See error

Expected behavior

The displayed direction of the arrow does not change

Screenshots

image image

Environment

https://user-images.githubusercontent.com/67322869/116528328-01b76600-a8dc-11eb-92ed-568e1ae36049.mp4

krusche commented 3 years ago

Each message should also have its own arrow as shown in the following example. The text should always be next to the arrow (both must be on the same side of the communication link)

image

In the future it should also be possible to select single messages to create drag and drop quizzes more easily

krusche commented 3 years ago

for horizontal cases: the arrow should be directly below the text. for vertical cases: the arrow should be closer to the communication link. (look at 2.4 and 3 in the screenshot above)