Hello friends,

I need to label special vertices and ignore some others based on a specific
condition. If the vertex is a hashtag, its label should be ignore,
otherwise, the label should appear. I tried this:

visual_style["vertex_label"] = ["" if is_hashtag(vertex) else
vertex["name"] for vertex in g.vs]

However, there is a glitch. Suggestions?

Thanks very much,

-Ahmed
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to