Hi(a)alll

How can I retrieve the graph neighborhoods around a set of vertices for a

given radius (of the neighborhoods)?

Thanks,

Dov

attachment.html (234 Bytes)

Hi(a)alll

How can I retrieve the graph neighborhoods around a set of vertices for a

given radius (of the neighborhoods)?

Thanks,

Dov

attachment.html (234 Bytes)

You can use the shortest_distance() function:

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