Working with graphical layouts