investigate strategies to avoid overlapping labels
Closed this issue · 6 comments
Deciding where labels should be placed based on the location of other vectors is a difficult problem in general, and not feasible for the current implementation. It might also do more harm than good, resulting in labels jumping around while you're moving something.
So I think we should limit this issue to a single vector. That is, prevent the label and angle indicator from overlapping. Label positioning is handled in RootVector.updateLabelPositioning
.
In the above commits, I adjusted the label position so that it never overlaps the angle indicator. Examples for all of the cases are shown below.
@arouinfar @arouinfar I'm not sure where to go from here. Please advise.
Discussed with @pixelzoom over slack, since this would be a hard problem to address in general, what has been done so far seems perfectly sufficient for 1.0
@arouinfar if you agree with #93 (comment), then please close. Otherwise please advise on how to proceed.
Discussed with @pixelzoom over slack, since this would be a hard problem to address in general, what has been done so far seems perfectly sufficient for 1.0
Agreed, let's close.