7 Jul
2019
7 Jul
'19
2:22 p.m.
Thanks Tiago, works perfectly.
Can somebody explain how to retrieve the subgraph of g induced by the connected component labeled 0?
The easiest is to create a graph view: sub = GraphView(g, vfilt=u.a == 0) # sub contains only the vertices of # the component with label 0