15 Dec
2016
15 Dec
'16
7:57 p.m.
On 15.12.2016 05:21, Snehal Shekatkar wrote:
Thanks.. that worked! A small related question: The nodes in my graph are strings and that's why I am using `hashed = True` and `string_vals = True`. How can I use these values as labels for my nodes while drawing the graph? I couldn't find any way to extract these strings to define a new property map for vertex_text.
The Graph.add_edge_list() method already returns the property map you want. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>