[graph-tool] Using the values of a property (eg. g.edge_index)