code: def _st_mincut(graph, source, target, capacity=None):
      """Calculates the minimum cut between the source and target vertices in a
      graph.
  
      @param source: the source vertex ID
      @param target: the target vertex ID
      @param capacity: the capacity of the edges. It must be a list or a valid
        attribute name or C{None}. In the latter case, every edge will have the
        same capacity.
      @return: the value of the minimum cut, the IDs of vertices in the
        first and second partition, and the IDs of edges in the cut,
        packed in a 4-tuple
      """
      return Cut(
          graph, *GraphBase.st_mincut(graph, source, target, capacity)
      )
  
imports: from igraph._igraph import GraphBase
  from igraph.clustering import VertexClustering
label_desc: Use image node_id 6 for calling a global function with example usage: _st_mincut(graph, source, target, capacity) and returns: Cut