igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Labeling vertices


From: Ahmed Abdeen Hamed
Subject: [igraph] Labeling vertices
Date: Thu, 8 Jan 2015 13:44:49 -0500

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]