I've just installed graph_tool on my Mac via Homebrew, more-or-less
according to the walkthrough recommended on the graph-tool installation page
(https://gist.github.com/openp2pdesign/8864593).
When I try to use the graph_draw function I get an error.
Is node_map a dict? It looks like you are passing an arbitrary list of
values as vertex_text, but it only accepts a single string or a
PropertyMap. Please take a closer look at the documentation and the
examples therein. If you want to have different texts in each node you
should do something like:
Thanks for the reply. You are right, I was trying to pass in a list. I had another look at the docs after I made the post and tried to delete it when I realised what I’d done, but I guess it had already gone out to the mailing list. Sorry about that.