thomasp85 / tidygraph

A tidy API for graph manipulation
https://tidygraph.data-imaginist.com
Other
546 stars 61 forks source link

Argument `neimode` is deprecated; use `mode` instead #156

Closed metanoid closed 2 years ago

metanoid commented 2 years ago

The map_bfs_* family of functions seem to be using an older version of the {igraph} API. See warning messages auto-generated here: https://thomasp85.r-universe.dev/articles/ggraph/Edges.html#meet-the-geom_edge_-family

## Warning in bfs(graph = graph, root = root, neimode = mode, unreachable =
## unreachable, : Argument `neimode' is deprecated; use `mode' instead
luisdza commented 2 years ago

It looks like we needed a find and replace. Deprecation was initiated with issue: https://github.com/igraph/rigraph/issues/495

I have created a pull request with the change and tested with the example from https://thomasp85.r-universe.dev/articles/ggraph/Edges.html#meet-the-geom_edge_-family