Is there an example of using affine map for layout

Hi, all! I am trying to use AffineMap for layout, as it seems to be a good resolution for layout mapping and such usage is recommended in docs. I wonder if there are examples of it to learn about?