Pedro J. Aphalo
Pedro J. Aphalo
I tried how this is handled by `geom_text()`: ```r library(ggplot2) library(ggrepel) library(ggplot2movies) ggplot(movies[1:300,], aes(y = year, x = length, color = factor(title), label = title)) + geom_point() + geom_text() ```...
@krassowski @slowkow Are you both o.k. with me adding `position_stack_and_nudge()` to package 'ggpp'? If yes, Michel, could you please send me your ORCID or directly add yourself as a contributor...
@krassowski @slowkow Many thanks! I also implemented `position_dodge_and_nudge()` in 'ggpp'.
@slowkow Looking at `select_line_connection()` the algorithm seems to assume that the text box has its edges vertical and horizontal. This could explain segments being attached to the wrong edge with...
@slowkow I included the warning in #196 in commit 275b4a71b97ed63ad44eaeac11574651176a3544 some hours ago (without waiting for your answer). I also added some unit tests.
In general justification in 'ggplot2' does not shift the position of the point to which a label is referenced, it shifts the position of the label with respect to the...
@slowkow This new reprex makes it clear why the labels end on the wrong side not only in the network plot, but also in other plots. So, it is not...
I think that the problem is caused in part by the balance between pull and push forces, but playing with the multipliers shows that the current values are needed to...
Here is a simpler/clearer reprex for this problem: ``` r library(ggplot2) library(ggrepel) my.cars hash: tiger, puzzle piece, wine glass #> #> setting value #> version R version 4.1.1 (2021-08-10) #>...
Yes, what started as one problem, seems to have three different components. 1. and 3. Seem to be relevant to `geom_text_repel()`. Further checking using print statements and doing small "exploratory"...