I can answer the first question, but I couldn't understand the second one,
which may need a bit clarification.
To enable some customization when minimizing the blockmodel state, one can
pass the `state_args` to the minimize_blockmodel_dl() function. To achieve
what you want, you need to do:
minimize_blockmodel_dl(g, state_args = {'clabel': clabel}),
where `clable` is a PropertyMap defined on the vertices. If supplied,
vertices with different label values will not be clustered in the same
group.
Best,
Tzu-Chi
--
Sent from:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool