After using community_structure(), each vertex in the graph has a community
property.

However, how to extract some certain communities from this graph ?

Such as, the graph G contains communities {1,2,3,4,5}, now, I hope to get
and save a sub-graph which contains the  vertices and their edge in
communities {2,4,5} of G ?

Is there any continent and fast function or algorithm in graph_tool to solve
this problem ? 



--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/About-extract-communities-from-a-graph-tp4025195.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to