edge.connectivity | R Documentation |
edge.connectivity()
was renamed to edge_connectivity()
to create a more
consistent API.
edge.connectivity(graph, source = NULL, target = NULL, checks = TRUE)
graph |
The input graph. |
source |
The id of the source vertex, for |
target |
The id of the target vertex, for |
checks |
Logical constant. Whether to check that the graph is connected and also the degree of the vertices. If the graph is not (strongly) connected then the connectivity is obviously zero. Otherwise if the minimum degree is one then the edge connectivity is also one. It is a good idea to perform these checks, as they can be done quickly compared to the connectivity calculation itself. They were suggested by Peter McMahan, thanks Peter. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.