This is a more general version of the errors reported in #72 and #79.
The code (verbatim from several examples)
fgraph <- igraph::graph_from_data_frame(flare$edges, vertices = flare$vertices)
ggraph(fgraph, layout = "dendrogram") +
geom_edge_elbow()
fails with (as in #72):
Error in eval(expr, envir, enclos) : object 'direction' not found
Passing e.g. direction = "out" in either ggraph() or in geom_edge_elbow itself yields the same error. Wrapping it in an aes() call, e.g.
ggraph(fgraph, layout = "dendrogram") +
geom_edge_elbow(aes(direction = "out"))
emits the warning (as in #79)
Warning message:
Removed 251 rows containing non-finite values (stat_edge_elbow).
and draws an empty plot.
This is a more general version of the errors reported in #72 and #79.
The code (verbatim from several examples)
fails with (as in #72):
Passing e.g.
direction = "out"in eitherggraph()or ingeom_edge_elbowitself yields the same error. Wrapping it in anaes()call, e.g.emits the warning (as in #79)
and draws an empty plot.