diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-01-24 18:16:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-24 18:16:08 +0100 |
| commit | 82c6af07a530e43ecb1804066a8cfff34c077a8f (patch) | |
| tree | 193a47b7d553fee8224c87adf6a06d788a83dbc5 /lib/stitches/auto_run.py | |
| parent | 28dd69065816fb9695c05ee6ddaff7714387358d (diff) | |
Auto-run: try harder to avoid networkx issues (#3457)
* auto-run: try harder to avoid networkx issues
* fix auto-run transforms
Diffstat (limited to 'lib/stitches/auto_run.py')
| -rw-r--r-- | lib/stitches/auto_run.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stitches/auto_run.py b/lib/stitches/auto_run.py index 28da5482..760d0393 100644 --- a/lib/stitches/auto_run.py +++ b/lib/stitches/auto_run.py @@ -121,6 +121,7 @@ class LineSegments: def autorun(elements, preserve_order=False, break_up=None, starting_point=None, ending_point=None, trim=False): graph = build_graph(elements, preserve_order, break_up) + graph = add_jumps(graph, elements, preserve_order) starting_point, ending_point = get_starting_and_ending_nodes( @@ -132,7 +133,7 @@ def autorun(elements, preserve_order=False, break_up=None, starting_point=None, new_elements, trims, original_parents = path_to_elements(graph, path, trim) if preserve_order: - preserve_original_groups(new_elements, original_parents) + preserve_original_groups(new_elements, original_parents, transform=False) else: parent = elements[0].node.getparent() insert_index = parent.index(elements[0].node) |
