R/gganimate.R

Defines functions layer_type.GeomEdgePath

# 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'

Try the ggraph package in your browser

Any scripts or data that you put into this service are public.

ggraph documentation built on May 29, 2024, 2:32 a.m.