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.
_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool