Low-level representation of a vertex sequence.
Don't use it directly, use igraph.VertexSeq
instead.
Unknown Field: deffield | |
ref | Reference |
Method | __new__ |
Create and return a new object. See help(type) for accurate signature. |
Method | attribute |
Returns the attribute name list of the graph's vertices |
Method | find |
For internal use only. |
Method | get |
Returns the value of a given vertex attribute for all vertices in a list. |
Method | select |
For internal use only. |
Method | set |
Sets the value of a given vertex attribute for all vertices |
Method | _reindex |
Re-creates the dictionary that maps vertex names to IDs. |
Returns the value of a given vertex attribute for all vertices in a list.
The values stored in the list are exactly the same objects that are stored in the vertex attribute, meaning that in the case of mutable objects, the modification of the list element does affect the attribute stored in the vertex. In the case of immutable objects, modification of the list does not affect the attribute values.
Parameters | |
attrname | the name of the attribute |
Sets the value of a given vertex attribute for all vertices
Parameters | |
attrname | the name of the attribute |
values | the new attribute values in a list |