I have a question regarding weighted graphs. I would like to classify a
network with weighted edges into groups taking into account these weights.
I have used minimize_blockmodel_dl and minimize_nested_blockmodel_dl before
but I don't know exactly how to implement these functions in a weighted
network. I'm not sure if I have to use the layered version, but in this
case I don't know how to get these layers from my network.

Thank you very much and sorry for the basic question,