The vertex connectivity of two vertices (`source`

and `target`

) in
a directed graph is the minimum number of vertices needed to remove from the
graph to eliminate all (directed) paths from `source`

to `target`

.
`vertex_connectivity`

calculates this quantity if both the
`source`

and `target`

arguments are given and they're not
`NULL`

.

The vertex connectivity of a graph is the minimum vertex connectivity of all
(ordered) pairs of vertices in the graph. In other words this is the minimum
number of vertices needed to remove to make the graph not strongly
connected. (If the graph is not strongly connected then this is zero.)
`vertex_connectivity`

calculates this quantitty if neither the
`source`

nor `target`

arguments are given. (Ie. they are both
`NULL`

.)

A set of vertex disjoint directed paths from `source`

to `vertex`

is a set of directed paths between them whose vertices do not contain common
vertices (apart from `source`

and `target`

). The maximum number of
vertex disjoint paths between two vertices is the same as their vertex
connectivity in most cases (if the two vertices are not connected by an
edge).

The cohesion of a graph (as defined by White and Harary, see references), is
the vertex connectivity of the graph. This is calculated by
`cohesion`

.

These three functions essentially calculate the same measure(s), more
precisely `vertex_connectivity`

is the most general, the other two are
included only for the ease of using more descriptive function names.