Hi all,

I started using igraph for my B.Sc. thesis but i'm struggling when i try to 
assign a list as an attribute of a vertex.

Here's what i tried:

 self.network.vs(node)[propertyName] = [0, value]
where network is my graph and node the name of the vertex.

When i try to access the elements i got an error (out of bounce) because the 
length of the list returned is 0.

How can I assign a list as a property of a vertex?

stackoverflow thread: 
http://stackoverflow.com/questions/31242822/set-list-as-vertex-edge-attribute 
<http://stackoverflow.com/questions/31242822/set-list-as-vertex-edge-attribute>



Thanks a lot for your help

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

Reply via email to