VectorPropertyValue#
- class graph_tool.VectorPropertyValue#
Bases:
objectValue of a vector-valued vertex or edge property map.
This object behaves like the vector it refers to (e.g.
Vector_double), and modifications to it are applied to the property map. The vector is looked up again in the property map at every access, so that this object remains valid when the storage of the property map is reallocated, e.g. when vertices or edges are added to the graph. A copy that is independent of the property map is obtained with the methodcopy().Raises an exception This class cannot be instantiated from Python
Attributes
Shortcut to the get_array method as an attribute.