graphs property
Returns a list with the graphs on each side of the cut.
Implementation
late final List<Graph<V, E>> graphs = [
graph.where(vertexPredicate: _bestPartition.contains),
vertexStrategy.createSet().also((vertices) {
vertices.addAll(graph.vertices);
vertices.removeAll(_bestPartition);
return graph.where(vertexPredicate: vertices.contains);
}),
];