Am 21.09.18 um 19:42 schrieb Lietz, Haiko:
> Hi all,
> 
>  
> 
> Can anybody give me a hint how I can toggle off (not display) self-loops /
> reflexive links when drawing a graph using
> 
>  
> 
> state.draw()
> 
>  
> 
> where state is a stochastic blockmodel.
> 

There is no option to toggle it. But you can filter them out:

    u = GraphView(g, efilt=label_self_loops(g).fa == 0)
    state = state.copy(g=u)
    state.draw()

Best,
Tiago
-- 
Tiago de Paula Peixoto <ti...@skewed.de>
_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to