def weight_to_comm(self, v, comm):
    """ The total number of edges (or sum of weights) from node ``v`` to
    community ``comm``.

    See Also
    --------
    :func:`~VertexPartition.MutableVertexPartition.weight_from_comm`
    """
    return _c_leiden._MutableVertexPartition_weight_to_comm(self._partition, v, comm)
def weight_to_comm ( self , v , comm ) : return _c_leiden . _MutableVertexPartition_weight_to_comm ( self . _partition , v , comm )
The total number of edges (or sum of weights) from node ``v`` to
    community ``comm``.

    See Also
    --------
    :func:`~VertexPartition.MutableVertexPartition.weight_from_comm`