Error while using graph_draw and vorder option
Hi,
I get an error when i am trying to draw the graph using graph_draw and using vorder option. Following is the output:
>>> graph_draw(g_base,vertex_text=g_base.vp["_graphml_vertex_id"],output_size=[2048,2048],output='magdata_qc_viz.png',vorder=g_base.vp["_graphml_vertex_id"])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/draw/cairo_draw.py", line 1019, in graph_draw
nodesfirst, fit_view=fit_view, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/draw/cairo_draw.py", line 555, in cairo_draw
nodesfirst, vattrs, eattrs, vdefs, edefs, cr)
RuntimeError: No static implementation was found for the desired routine. This is a graph_tool bug. :-( Please follow bug report instructions at http://graph-tool.skewed.de/tickets. What follows is debug information.
Graph view: boost::adj_list<unsigned long>*
Action: std::__1::__bind<do_cairo_draw_vertices, std::__1::placeholders::__ph<1>&, std::__1::placeholders::__ph<2>&, std::__1::placeholders::__ph<3>&, std::__1::reference_wrapper<std::__1::unordered_map<int, boost::any, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, boost::any> > > >, std::__1::reference_wrapper<std::__1::unordered_map<int, boost::any, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, boost::any> > > >, std::__1::reference_wrapper<std::__1::unordered_map<int, boost::any, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, boost::any> > > >, std::__1::reference_wrapper<std::__1::unordered_map<int, boost::any, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, boost::any> > > >, std::__1::reference_wrapper<Cairo::Context> >
Arg 1: boost::checked_vector_property_map<std::__1::vector<double, std::__1::allocator<double> >, boost::typed_identity_property_map<unsigned long> >
Arg 2: boost::checked_vector_property_map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, boost::typed_identity_property_map<unsigned long> >
Here are all the properties of the graph -
>>> g_base.list_properties()
Motif (vertex) (type: string)
Energy (vertex) (type: long double)
Config (vertex) (type: int32_t)
_graphml_vertex_id (vertex) (type: string)
Y (vertex) (type: long double)
X (vertex) (type: long double)
_graphml_edge_id (edge) (type: string)
System: Mac OS X graph_tool installed using macports.
Please let me know if there is any other information required.
Thank you,
cheers, -CD