thomasp85 / tidygraph

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

Add node_is_connected() #165

Closed thomasp85 closed 1 year ago

thomasp85 commented 2 years ago

node_is_connected <- function(nodes, mode = "out", any = FALSE)

Any switches between whether it is ok to just be connected to a subset of the given nodes

nodes is a collection of nodes or a list of nodes