Step (b) is a simple affine transformation of the positions and steps (c) to (h) are straightforward to implement, they only require keeping track of the positions of the numbered vertices. Step (j) is also straightforward, it consists in multiplying each translation by the inverse of the matrix of the new unit cell to obtain an integer offset. This allows to retrieve the set of edges E of the graph, and since V = ⟦1, n⟧, this directly yields the representation of a periodic graph in the vector model.