add new extension org.inkscape.path.bridge_subpaths
What does the merge request do?
Add a new extension "create from path" extension: "Bridge Subpaths"
From the description:
Create a new absolute path with added lines between the closest nodes of the subpaths. The pairs of subpaths to be bridged will be determined by the order in the path or after sorting them by distance.
Usage:
Select a single path with several subpaths.
Run the extension
Note: Potentially change objects to paths and combine paths before using this extension.
Based on https://github.com/Shriinivas/inkscapejoinpaths by Shrinivas Kulkarni.
This is useful if you want to have an effect like a chrismas light cord being hung over all letters of a greeting.
Example:

Implementation notes
Operating on a single path to be more orthogonal to other operations.
The algorithm to sort the subpaths is from the original.
It is my first Inkscape extension, there maybe beginners mistakes. Happy about all feedback!
Summary for release notes
Add new Extension: Generate from Path -> Bridge Subpaths. That allows to connect separate subpaths with line between the closest nodes.
Checklist
- Add unit tests (if applicable)
-
Changes to
inkex/are well documented (no changes to inkex) - Clean merge request history (can be squashed into one commit during merge)