[go: up one dir, main page]

WIP: Add connector LPE

This new LPE work in two flawors:

  1. Group mode: Use Martin Owens work adding custom knot targets to groups, this allow Add and remove targets using LPE knots. By the way it fixes a issue on apply LPE to clones from symbols, that not work well, now add to them clone LPE and allow to add more LPE to the "symbol" for example this one.

  2. Path mode: This work ony in paths defined as inkscape connector only, this LPE mode add a gap between crossings with other connector lines, split on crossing for use middle markers and allow a gap at start/end

Path mode also use a unique LPE for the whole drawing so you can update whole LPE in any line (Great idea Martin)
Also I do a optional link styles to keep all lines the same.
Finaly I add a option to keep last inserted line on each crossing unsplited.

What I need to do also:

I add a system on connector lines to detect crossings using AVOID methods only Also I wrap AVOID router (one per document handling all connectors) into a tiny class to allow have a reference to the non AVOID related to update all connector network when I need

Also added option to keep last used settings on tool

Finaly I fix a important bug (maybe can have a better deep fix) on drawing.cpp that become some times the canvas has a non transformed affine. This become in randonly extra scale of items on node and selet tool, also in text somentimes, and with LPE.

Long gif of the features Peek_2020-11-06_23-42
Edited by Jabier Arraiza

Merge request reports

Loading