ls1intum / Apollon

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

[BUGFIX #129] Fix position of label on Usecase and PetriNet Diagram #194

Closed minrows closed 2 years ago

minrows commented 2 years ago

Checklist

Motivation and Context

Label of connectors of Usecase and PetriNet diagrams are now not overlapped by the line. Fix for issue https://github.com/ls1intum/Apollon/issues/129

Description

Added attribute dy on Text tag, that shifted labels by specified pixel, hence not causing it to overlap by connector.

Steps for Testing

See Screenshots

Screenshots

Before:

Screen Shot 2021-11-20 at 10 47 34 PM

After:

Screen Shot 2021-11-20 at 10 45 45 PM