quiver icon indicating copy to clipboard operation
quiver copied to clipboard

Parallel pairs are not offset evenly

Open ncfavier opened this issue 7 months ago • 2 comments

I seem to recall that drawing two parallel arrows between the same nodes would result in them automatically being offset evenly, but at some point that changed. It now looks like this:

Image

Is there a way to draw a parallel pair without adjusting the offsets manually?

ncfavier avatar Jun 13 '25 12:06 ncfavier

Previously, drawing two parallel arrows between the same vertices would result in overlapping arrows. Now, the arrows are offset in such a way that drawing an odd number of arrows spaces them evenly. But the main point of adding the offset was to avoid arrows being drawn on top of each other, making it harder to select them.

I think offsetting them this way is preferable to offsetting them so that two arrows are evenly spaced, because this would cause problems with three or more parallel arrows.

varkor avatar Jun 13 '25 16:06 varkor

Would it make sense to always adjust the offsets so that any number of arrows are spaced evenly and symmetrically? This would imply changing the offsets of existing arrows when a new one is drawn (maybe only do that if none of the arrows have been changed manually?).

ncfavier avatar Jun 13 '25 16:06 ncfavier