Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(routers.RightAngle): various problems #2683

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

MartinKanera
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant