[graph-tool] Using a EdgePropertyMap('object') as weights