hevselavierlines / dddrt

Domain Driven Design Refactoring Tool
0 stars 0 forks source link

Use bottom of the destination class #21

Closed hevselavierlines closed 5 years ago

hevselavierlines commented 5 years ago

For now the destination of a relation is always the top of the class but this draws the whole line over the class. If the y position of the property is under the y position + the half of the destination class the end of the relation willl be on the bottom of the class.

hevselavierlines commented 5 years ago

Solved the issue by using the bottom of the class if the y position of the property is below the y position plus half of the height of the destination class.