thomasp85 / tidygraph

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

Add node_is_connected() #165

Closed thomasp85 closed 11 months ago

thomasp85 commented 1 year 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