[graph-tool] Accessing vertex/edge indices