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

autorun: fix networkx no path #2645

Merged
merged 3 commits into from Dec 31, 2023
Merged

Conversation

kaalleen
Copy link
Collaborator

Fixes #2604

For preserve order we need to make sure, that there are optional jump stitches between subpaths as well. Otherwise there will be no path between start and end point as soon as there are combined paths selected.

Preserve order really only makes sense for autorun if they ordered their elements previously. Otherwise they will have a bunch of big jumps anyway.

Copy link
Member

@lexelby lexelby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I never thought of subpaths!

lib/stitches/utils/autoroute.py Outdated Show resolved Hide resolved
@lexelby
Copy link
Member

lexelby commented Dec 29, 2023

I wonder if autoroute satin has this problem too?

@kaalleen
Copy link
Collaborator Author

I never thought of subpaths!

Yes, me neither! But it bugged our users ;)

I wonder if autoroute satin has this problem too?

In satins we do not have "separate" subpaths? That would confuse the satin algorithm.
Or do you mean the strokes that we may be in there?

@kaalleen kaalleen merged commit e4f5035 into main Dec 31, 2023
5 checks passed
@kaalleen kaalleen deleted the kaalleen/autorun-preserve-order branch December 31, 2023 10:16
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.

auto_run: NetworkXNoPath
2 participants