@pimms.value<EOL><INDENT>def indexed_edges(edges, vertex_index):<DEDENT>
return pimms.imm_array([[vertex_index[u] for u in row] for row in edges])<EOL>
tess.indexed_edges is identical to tess.edges except that each element has been indexed.