graph-class
, returns TRUE
if the
graph contains an edge from node specified by from
to the node
specified by to
. The appropriate logical vector will be returned as long as from
and to
have the same length and contain nodes in the graph
object specified by object
.
isAdjacent(object, from, to, ...)
graph-class
.character
vector of nodes in the graph.character
vector of nodes in the graphgraph