diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-12-31 11:16:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-31 11:16:09 +0100 |
| commit | e4f5035fb1dde8303b4baf38c969e809519c01aa (patch) | |
| tree | c566b1b41dbcc3a87b5d873a1691787b371e756a /lib/stitches/auto_run.py | |
| parent | fd01c2e2f1b9bfb972377492c7769b6b62170193 (diff) | |
autorun: fix networkx no path (#2645)
Diffstat (limited to 'lib/stitches/auto_run.py')
| -rw-r--r-- | lib/stitches/auto_run.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/stitches/auto_run.py b/lib/stitches/auto_run.py index d833a885..b8ab84c7 100644 --- a/lib/stitches/auto_run.py +++ b/lib/stitches/auto_run.py @@ -5,23 +5,22 @@ from collections import defaultdict +import inkex import networkx as nx from shapely.geometry import LineString, MultiLineString, MultiPoint, Point from shapely.ops import nearest_points, substring, unary_union -import inkex - from ..commands import add_commands from ..elements import Stroke from ..i18n import _ from ..svg import PIXELS_PER_MM, generate_unique_id from ..svg.tags import INKSCAPE_LABEL, INKSTITCH_ATTRIBS +from ..utils.threading import check_stop_flag from .utils.autoroute import (add_elements_to_group, add_jumps, create_new_group, find_path, get_starting_and_ending_nodes, preserve_original_groups, remove_original_elements) -from ..utils.threading import check_stop_flag class LineSegments: |
