(self, mode="strong")
return VertexClustering(self, GraphBase.clusters(self, mode))
Calculates the (strong or weak) clusters (connected components) for
        a given graph.

        @param mode: must be either C{"strong"} or C{"weak"}, depending on the
          clusters being sought. Optional, defaults to C{"strong"}.
        @return: a L{VertexClustering} object
Calculates the (strong or weak) clusters (connected components) for
        a given graph.
Calculates the ( strong or weak ) clusters ( connected components ) for a given graph .
def clusters(self, mode="strong"):
        """Calculates the (strong or weak) clusters (connected components) for
        a given graph.

        @param mode: must be either C{"strong"} or C{"weak"}, depending on the
          clusters being sought. Optional, defaults to C{"strong"}.
        @return: a L{VertexClustering} object"""
        return VertexClustering(self, GraphBase.clusters(self, mode))
def clusters ( self , mode = "strong" ) : return VertexClustering ( self , GraphBase . clusters ( self , mode ) )