Thank you very much Tiago. Best Snehal On Fri, Dec 16, 2016 at 1:27 AM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
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>
_______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool
-- Snehal Madhukar Shekatkar Pune India