Draws a short horizontal spring as the legend key for geom_spring().
Examples
library(ggplot2)
df <- data.frame(x = 1:3, y = 1, xend = 1:3, yend = 2:4, g = c("a", "b", "c"))
ggplot(df, aes(x, y, xend = xend, yend = yend, colour = g)) +
geom_spring(key_glyph = draw_key_spring)
