Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try this code:

from sage.graphs.connectivity import vertex_connectivity

The result, running in a SageCell Server is

(3, [1, 2, 3])

Which says the vertex connectivity is 3 and the vertices 1,2,3 are such a set.

The documentation for vertex_connectivity() is here.