/** * A cut vertex is a vertex whose removal would disconnect the remaining graph * * @param graph * @return */ public List<V> findAllCutVertices(Graph<V, E> graph) { return graph.listCutVertices(); }