Added diagram to the documentation