File: gganimate.R

package info (click to toggle)
r-cran-ggraph 2.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,648 kB
  • sloc: cpp: 1,219; makefile: 2
file content (4 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (3)
1
2
3
4
# We need this so that edge geoms is consider 'points' by gganimate. This is
# safe as all edges have the same number of points. We don't want to depend on
# gganimate so we register it on load
layer_type.GeomEdgePath <- function(x) 'point'