I created this diagram using the following code. But all the arrows do not look nice and the rectangles are shifted every time. Please tell me can there be a function that the a