find_vertex

Contents

find_vertex#

graph_tool.util.find_vertex(g, prop, match)[source]#

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