removeVertex static method
Implementation
static void removeVertex(Vertex v,List<Vertex> vertices ) {
while ( v.neighbors.isNotEmpty ) {
final n = v.neighbors.removeLast();
removeFromArray( n.neighbors, v );
}
removeFromArray( vertices, v );
}