Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • graph-tool graph-tool
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.

For questions about how to compile, install or use the library, please use instead the mailing list at https://graph-tool.skewed.de/mailing
(If unsure, use the mailing list first.)



When opening new issues, please choose the BUG template from the drop-down menu, and fill out the required information.

  • Tiago Peixoto
  • graph-toolgraph-tool
  • Issues
  • #264
Closed
Open
Created Jan 18, 2016 by Charu@cphatak

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

Assignee
Assign to
Time tracking