haiko.lietz
(Haiko Lietz)
#1
Hi all,
When I plot the state of a layered blockmodel there are as many loops as there are layers, so everything is correct.
state_layers.draw() plots the blocked multigraph as attached.
How can I plot the states for the individual layers?
Many thanks
Haiko
attachment.html (739 Bytes)

tiago
(Tiago Peixoto)
#2
The simplest option is again to use filtering:
u = GraphView(g, efilt=ec.fa == l) # filter only edges from layer l
lstate = state.copy(g=u) # block state w/ same partition
lstate.draw()
Best,
Tiago