graph_tool.util.find_vertex_range#

graph_tool.util.find_vertex_range(g, prop, range)[source]#

Find all vertices v for which range[0] <= prop[v] <= range[1]. The parameter prop can be either a VertexPropertyMap or string with value “in”, “out” or “total”, representing a degree type.