red diagram