> I have a numeric vertex attribute and I want the size of the vertex > circle to reflect that attribute. > How do I do that?
In R: plot(g, vertex.size=V(g)$size) In Python: plot(g, vertex_size=g.vs["size"]) Note that this sets the diameter of the vertex to be proportional to the "size" attribute; if you want the area to be proportional, take the square root. -- T. _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
