[graph-tool] find_vertex() not works

josubg josubg at gmail.com
Mon Jul 9 12:13:54 CEST 2012

I'm trying to retrieve all the nodes of a graph that belong to a specific
type. I use the find_vertex for this: 

     referents = find_vertex(graph, graph.vertex_properties['type'],

But all I get is this error:

       File "/usr/lib/python2.7/dist-packages/graph_tool/util/__init__.py",
line 58, in find_vertex
            (val, val))
   TypeError: No registered converter was able to extract a C++ reference to
type graph_tool::GraphInterface from this Python          object of type

Any clue of what is the problem?

View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/find-vertex-not-works-tp4024750.html
Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.

More information about the graph-tool mailing list