You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to plot an igraph object that was converted from a dendrogram object with den_to_igraph, with dendrogram layout and geom_edge_elbow gives an error. MWE:
* Use tidygraph as the central data format. The results of this are several:
- All graph object supported by tidygraph are now supported on even footing in
ggraph. All layouts are now available to any graph class
- **BREAKING** The `"even"` layout for dendrograms are no more, but can be
obtained by using the `"dendrogram"` layout with `height = NULL`
- **BREAKING** All layouts uses NSE for arguments that refer to node and edge
variables, instead of passing in strings that refer to the variable name.
- All examples and vignettes now uses tidygraph for graph manipulation
resulting in much cleaner code.
- `tree_apply` has been deprecated in favour of using `tidygraph::map_bfs_*`
- `geom_edge_elbow` is no longer only available to dendrogram objects
- tidygraph algorithms can now be used directly within ggraph functions. E.g.
you can have `sort.by = node_rank_hclust()` in your specification of a
linear layout, or `aes(colour = group_infomap())` in node geoms
This big change fixes#21, #72, #79, and #81
Trying to plot an igraph object that was converted from a dendrogram object with
den_to_igraph
, with dendrogram layout andgeom_edge_elbow
gives an error. MWE:gets
Error in eval(expr, envir, enclos) : object 'direction' not found
I would plot the dendrogram object directly, but I want to use
tree_apply
, which, as I understand, currently only works on igraph objects.The text was updated successfully, but these errors were encountered: