swan_connectivity function

Impact on connectivity when a node is removed