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
Am 25.09.18 um 11:37 schrieb Lietz, Haiko:
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?
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 -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
Lietz, Haiko -
Tiago de Paula Peixoto