On 11.01.2015 13:03, Dov Sadan wrote:
> Hi@alll
>
> How can I retrieve the graph neighborhoods around a set of vertices for a 
> given radius (of the neighborhoods)?

You can use the shortest_distance() function:

    
https://graph-tool.skewed.de/static/doc/topology.html#graph_tool.topology.shortest_distance


-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to