Vertex and Edge descriptor objects are supposed to be lightweight, and they
contain only a C++ pointer to the specific graph view to which they refer.
This means that they cannot be pickled, as the parent Graph (Python) object
cannot be resolved.
If you want to pickle Vertex objects, you should convert them to ints first.