Stochastic Blockmodeling Result: Vertex and Edge colors


I think I am having the same problem recently risen. I was just wondering
how I can access to the color tuples of the given mapping (draw) results.
Given that:

g =["celegansneural"]>>> state = gt.minimize_nested_blockmodel_dl(g, deg_corr=True)>>> gt.draw_hierarchy(state, output="celegansneural_nested_mdl.pdf")

I want to use the color codes of blocks (vertex) and edges for another
mapping. Any ideas?


attachment.html (4.2 KB)

As explained in that thread, you can get the colors from the color map: