I have defined in package ‘ggpp’ enhanced versions of
geom_label() under the names of
geom_label_s() . The
s is for segment, at least it was when I thought of these names. The versions described are included in version 0.5.0.
The idea of better supporting the use of data labels in ggplots is not new. I have been for a long time a user of the repulsive geometries
geom_label_repel() from package ‘ggrepel’. I have even contributed some code to ‘ggrepel’. However, some time back when designing some new position functions, the idea of developing non-repulsive geometries suitable for data labels started growing on me.