Description Usage Arguments Value
This function allows you to check for if an edge exists between 2 nodes in the graph.
1 2 | ## S3 method for class 'adjMatrixGraph'
hasEdge(graph, node1, node2)
|
node1 |
The first node |
node2 |
The second node |
a list containing the graph object and the a boolean indicating if the graph contained the edge
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.