flandreas / antares

Digital circuit learning platform
49 stars 6 forks source link

Wire distortion when creating horizontal junction #627

Closed flandreas closed 1 year ago

flandreas commented 1 year ago

In certain situations, the layout algorithm creates unnecessary deviations in the origin wire when creating a horizontal junction.

Screenshot 2023-09-08 at 12 50 26
flandreas commented 1 year ago

The problem occurs if the mouse pointer is slightly below the wire corner, and the direction of the vertical wire segment gets chosen to determine the preferred layout direction for the wire being split.