I run the sample code
library(ggraph)
library(igraph)
graph <- graph_from_data_frame(highschool)
# Not specifying the layout - defaults to "auto"
ggraph(graph) +
geom_edge_link(aes(colour = factor(year))) +
geom_node_point()
Using nicely as default layout
Error in pathAttr(data, length(unique(data$group))) :
Not compatible with requested type: [type=character; target=integer].
RV 3.6.0
ggraph LATEST from devtools githutb
I run the sample code
Using
nicelyas default layoutError in pathAttr(data, length(unique(data$group))) :
Not compatible with requested type: [type=character; target=integer].
RV 3.6.0
ggraph LATEST from devtools githutb