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 <[email protected]>
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to