joint icon indicating copy to clipboard operation
joint copied to clipboard

fix(routers.RightAngle): various problems

Open MartinKanera opened this issue 1 year ago • 0 comments

Description

This PR introduces fixes to the right-angle router. The fixes include changes to the connection of vertices, handling the first and last vertex, creating a loop for the last vertex in case the segments overlap, and finding shorter routes alongside the horizontal and vertical sides of a shape.

Motivation and Context

This PR improves right-angle router in order for it to give better results.

Screenshots (if appropriate):

Before After
image Pasted Graphic
image Pasted Graphic 2
image Pasted Graphic 4
image Pasted Graphic 5
image Pasted Graphic 7
image Pasted Graphic 10
image Pasted Graphic 12
image Pasted Graphic 15
image Pasted Graphic 14
image Pasted Graphic 16
image Pasted Graphic 17
image Pasted Graphic 18
image image

MartinKanera avatar Jun 04 '24 16:06 MartinKanera